Skip to content

phosphor.glsl cannot be loaded #41

@Niezborny

Description

@Niezborny

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions