Explorar o código

Add draw order for pbr materials

ShiroSmith %!s(int64=6) %!d(string=hai) anos
pai
achega
f45e0db77b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      h3d/mat/PbrMaterial.hx

+ 1 - 0
h3d/mat/PbrMaterial.hx

@@ -450,6 +450,7 @@ class PbrMaterial extends Material {
 				<dt>Shadows</dt><dd><input type="checkbox" field="shadows"/></dd>
 				<dt>Culled</dt><dd><input type="checkbox" field="culling"/></dd>
 				<dt>AlphaKill</dt><dd><input type="checkbox" field="alphaKill"/></dd>
+				<dt>Draw Order</dt><dd><input type="range" min="0" max="10" step="1" field="drawOrder"/></dd>
 			</dl>
 		');
 	}