فهرست منبع

Update PrepassHDR renderpath, rename prealpha pass to postopaque and add refract pass.

primitivewaste 12 سال پیش
والد
کامیت
d5c9a1eea2
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      Bin/CoreData/RenderPaths/PrepassHDR.xml

+ 4 - 1
Bin/CoreData/RenderPaths/PrepassHDR.xml

@@ -15,7 +15,10 @@
     <command type="scenepass" pass="material" vertexlights="true">
         <texture unit="light" name="light" />
     </command>
-    <command type="scenepass" pass="prealpha"/>
+    <command type="scenepass" pass="postopaque" />
+    <command type="scenepass" pass="refract">
+        <texture unit="environment" name="viewport" />
+    </command>
     <command type="scenepass" pass="alpha" usescissor="true" vertexlights="true" sort="backtofront" metadata="alpha" />
     <command type="scenepass" pass="postalpha" sort="backtofront" />
 </renderpath>