mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Fix compile error in advanced_postprocessing.rst
This commit is contained in:
committed by
Hugo Locurcio
parent
b4d46c1c49
commit
3d9ca63b15
@@ -46,6 +46,8 @@ and sets the vertex position directly.
|
||||
.. code-block:: glsl
|
||||
|
||||
shader_type spatial;
|
||||
// Prevent the quad from being affected by lighting and fog. This also improves performance.
|
||||
render_mode unshaded, fog_disabled;
|
||||
|
||||
void vertex() {
|
||||
POSITION = vec4(VERTEX, 1.0);
|
||||
|
||||
Reference in New Issue
Block a user