Howto access screen's pixel-values in fragment shaders?

Started by
0 comments, last by rick_appleton 18 years, 7 months ago
Hello, Accessing pixel values in shaders works quite well with 2 textures (which can be easily accessed in the fragment shader), however I was not able to figure out howto access the pixels of the screen in the shader? Is this possible at all? Thank you in advance, Linuxhippy
Advertisement
Nope, it's not possible.

You'll have to render to an offscreen buffer and then use that as a texture.

This topic is closed to new replies.

Advertisement