소스 검색

Merge pull request #9653 from paxer/create_tree

Fix Making trees tutorial
Matthew 6 달 전
부모
커밋
c3cdf60394
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;
         ALPHA = albedo_tex.a;
         METALLIC = 0.0;
         METALLIC = 0.0;
         ROUGHNESS = 1.0;
         ROUGHNESS = 1.0;
-        TRANSMISSION = transmission.rgb;
+        SSS_TRANSMITTANCE_COLOR = transmission.rgba;
     }
     }
 
 
 And this is pretty much it.
 And this is pretty much it.