瀏覽代碼

fragment code was broken

Juan Linietsky 7 年之前
父節點
當前提交
435df4190c
共有 1 個文件被更改,包括 1 次插入0 次删除
  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:
 
 .. code-block:: glsl
+
 	void fragment() {
 		vec4 albedo_tex = texture(texture_albedo,UV);
 		ALBEDO = albedo_tex.rgb;