light_world.lua
light_world.lua copied to clipboard
phosphor.glsl cannot be loaded
While requiring this library en error occures while loading phosphor.glsl:
love2d 11.1, Windows 10
Error validating pixel shader code:
Line 128: ERROR: '_tex0_' : undeclared identifier
Line 128: ERROR: 'texture2D' : no matching overloaded function found
Line 128: ERROR: 'texture2D' : no matching overloaded function found
Line 128: ERROR: 'texture2D' : no matching overloaded function found
Line 128: ERROR: '' : compilation terminated
ERROR: 5 compilation errors. No code generated.
Traceback
[C]: in function 'newShader'
lib/util.lua:78: in function 'loadShader'
lib/postshader.lua:37: in main chunk
[C]: in function 'require'
main.lua:8: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'```
I got the same issue!