Merge pull request #2977 from timkrief/patch-1

Update screen-reading_shaders.rst
This commit is contained in:
Hugo Locurcio
2019-12-11 20:13:02 +01:00
committed by GitHub

View File

@@ -27,7 +27,7 @@ the current fragment. As a result, this simple 2D fragment shader:
.. code-block:: glsl
void fragment() {}
void fragment() {
COLOR = textureLod(SCREEN_TEXTURE, SCREEN_UV, 0.0);
}