Преглед на файлове

[RENDERER] Adding custom1 and custom2 to output.

clandrin преди 4 години
родител
ревизия
a957b500e5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      h3d/scene/pbr/Renderer.hx

+ 1 - 1
h3d/scene/pbr/Renderer.hx

@@ -89,7 +89,7 @@ class Renderer extends h3d.scene.Renderer {
 		Value("output.color"),
 		Vec4([Value("output.normal",3),ALPHA]),
 		Vec4([Value("output.metalness"), Value("output.roughness"), Value("output.occlusion"), ALPHA]),
-		Vec4([Value("output.emissive"), Const(0), Const(0), ALPHA]),
+		Vec4([Value("output.emissive"), Value("output.custom1"), Value("output.custom2"), ALPHA]),
 		Vec4([Value("output.depth"), Const(0), Const(0), ALPHA])
 	]);
 	var decalsOutput = new h3d.pass.Output("decals",[