mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-08 10:10:54 +03:00
Merge pull request #2977 from timkrief/patch-1
Update screen-reading_shaders.rst
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user