Bake up axis

This commit is contained in:
luboslenco
2019-12-06 21:21:25 +01:00
parent acd5702914
commit 3f4134fc37
5 changed files with 11 additions and 4 deletions
+1
View File
@@ -191,6 +191,7 @@ class RenderPathRaytrace {
f32[2] = UITrait.inst.bakeAoRadius;
f32[3] = UITrait.inst.bakeAoOffset;
f32[4] = Scene.active.world.probe.raw.strength;
f32[5] = UITrait.inst.bakeUpAxis;
var baketex2 = path.renderTargets.get("baketex2").image;
Krom.raytraceDispatchRays(baketex2.renderTarget_, f32.buffer);