Browse Source

fragment code was broken

Juan Linietsky 7 years ago
parent
commit
435df4190c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      content/3d/making_trees.rst

+ 1 - 0
content/3d/making_trees.rst

@@ -71,6 +71,7 @@ This is the code to create the sway of the leaves. It's basic (just uses a sinew
 Finally all that is left is the fragment shader:
 Finally all that is left is the fragment shader:
 
 
 .. code-block:: glsl
 .. code-block:: glsl
+
 	void fragment() {
 	void fragment() {
 		vec4 albedo_tex = texture(texture_albedo,UV);
 		vec4 albedo_tex = texture(texture_albedo,UV);
 		ALBEDO = albedo_tex.rgb;
 		ALBEDO = albedo_tex.rgb;