We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I sample a vec4 from an other pass buffer I get a vector where XYZ are multiplied by W. This make it impossible to use the W.
/*{ "CATEGORIES": [ "XXX" ], "CREDIT": "by gosub7777777", "DESCRIPTION": "", "INPUTS": [ { "NAME": "inputImage", "TYPE": "image" } ], "ISFVSN": "2", "PASSES": [ { "FLOAT": true, "HEIGHT": "$HEIGHT", "PERSISTENT": true, "TARGET": "first", "WIDTH": "$WIDTH" }, { } ] } */ void main() { if(PASSINDEX == 0){ gl_FragColor = vec4(0.1, 0.0, 0.0, 10.); } if(PASSINDEX == 1){ // gl_FragColor = vec4(0.1, 0.0, 0.0, 10.); gl_FragColor = IMG_PIXEL(first, isf_FragNormCoord.xy); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I sample a vec4 from an other pass buffer I get a vector where XYZ are multiplied by W.
This make it impossible to use the W.
The text was updated successfully, but these errors were encountered: