Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phosphor.glsl cannot be loaded #41

Open
Niezborny opened this issue Feb 8, 2019 · 1 comment
Open

phosphor.glsl cannot be loaded #41

Niezborny opened this issue Feb 8, 2019 · 1 comment

Comments

@Niezborny
Copy link

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'```
@lerabot
Copy link

lerabot commented Apr 29, 2019

I got the same issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants