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

Fail on compile fxaa fragment shader #41

Open
vinnik-dmitry07 opened this issue Apr 13, 2020 · 0 comments
Open

Fail on compile fxaa fragment shader #41

vinnik-dmitry07 opened this issue Apr 13, 2020 · 0 comments

Comments

@vinnik-dmitry07
Copy link

vinnik-dmitry07 commented Apr 13, 2020

Fragment shader:
0(10) : error C1503: undefined variable "angleVarfade_texture"
0(10) : error C1105: cannot call a non-function
0(11) : error C1503: undefined variable "angleVarfade_texture"
0(11) : error C1105: cannot call a non-function
0(12) : error C1503: undefined variable "angleVarfade_texture"
0(12) : error C1105: cannot call a non-function
0(13) : error C1503: undefined variable "angleVarfade_texture"
0(13) : error C1105: cannot call a non-function
0(14) : error C1503: undefined variable "angleVarfade_texture"
0(14) : error C1105: cannot call a non-function
0(29) : error C1503: undefined variable "angleVarfade_texture"
0(29) : error C1105: cannot call a non-function
0(29) : error C1503: undefined variable "angleVarfade_texture"
0(29) : error C1105: cannot call a non-function
0(30) : error C1503: undefined variable "angleVarfade_texture"
0(30) : error C1105: cannot call a non-function
0(30) : error C1503: undefined variable "angleVarfade_texture"
0(30) : error C1105: cannot call a non-function

Possible solution: 049479b
PostProcessor is called with code:

ShaderLoader.BasePath = "shaders/";
postProcessor = PostProcessor(false, false, false)
val fxaa = Fxaa((Gdx.graphics.getWidth()*0.9).toInt(), (Gdx.graphics.getHeight()*0.9).toInt());
postProcessor.addEffect(fxaa)
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

1 participant