瀏覽代碼

Fix Making trees tutorial

replace TRANSMISSION  with SSS_TRANSMITTANCE_COLOR
Pavel Kotlyar 1 年之前
父節點
當前提交
d1e3cfeff3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/shaders/making_trees.rst

+ 1 - 1
tutorials/shaders/making_trees.rst

@@ -77,7 +77,7 @@ Finally, all that's left is the fragment shader:
         ALPHA = albedo_tex.a;
         METALLIC = 0.0;
         ROUGHNESS = 1.0;
-        TRANSMISSION = transmission.rgb;
+        SSS_TRANSMITTANCE_COLOR = transmission.rgba;
     }
 
 And this is pretty much it.