Explorar o código

Fix Making trees tutorial

replace TRANSMISSION  with SSS_TRANSMITTANCE_COLOR
Pavel Kotlyar hai 1 ano
pai
achega
d1e3cfeff3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.