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

FXAA Shader pass is black #1339

Open
avaer opened this issue Jul 22, 2019 · 2 comments
Open

FXAA Shader pass is black #1339

avaer opened this issue Jul 22, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@avaer
Copy link
Member

avaer commented Jul 22, 2019

The THREE.js FXAA example renders an error and blackness:

https://threejs.org/examples/webgl_postprocessing_fxaa.html

@avaer avaer added the bug Something isn't working label Jul 22, 2019
@avaer
Copy link
Member Author

avaer commented Jul 22, 2019

Error stack:

(node:15712) ExperimentalWarning: vm.SourceTextModule is an experimental feature. This feature could change at any time
THREE.WebGLRenderer 106
THREE.WebGLProgram: shader error:  1286 35715 false gl.getProgramInfoLog Fragment info
-------------
0(804) : error C1503: undefined variable "FxaaTexGreen4"
0(805) : error C1503: undefined variable "FxaaTexOffGreen4"
(0) : error C2003: incompatible options for link  THREE.WebGLShader: gl.getShaderInfoLog() fragment
0(804) : error C1503: undefined variable "FxaaTexGreen4"
0(805) : error C1503: undefined variable "FxaaTexOffGreen4"1: #version 330
2: #extension GL_ARB_separate_shader_objects : enable
3: 

@avaer
Copy link
Member Author

avaer commented Jul 22, 2019

Partial fix: avaer/webgl-to-opengl#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant