light_world.lua icon indicating copy to clipboard operation
light_world.lua copied to clipboard

phosphor.glsl cannot be loaded

Open Niezborny opened this issue 7 years ago • 1 comments

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'```

Niezborny avatar Feb 08 '19 14:02 Niezborny

I got the same issue!

lerabot avatar Apr 29 '19 15:04 lerabot