diff --git a/bin/data/config.json b/bin/data/config.json index b36e6ca5..ea06d56c 100644 --- a/bin/data/config.json +++ b/bin/data/config.json @@ -118,7 +118,7 @@ "gui": true, "vsync": true, // vsync on vulkan side rather than engine-side "hdr": true, - "vxgi": false, // to-do: fix issues + "vxgi": true, // to-do: fix issues "culling": false, "bloom": false, "dof": false, diff --git a/bin/data/shaders/display/deferred/comp/comp.h b/bin/data/shaders/display/deferred/comp/comp.h index 9acc44b0..43ddb4c0 100644 --- a/bin/data/shaders/display/deferred/comp/comp.h +++ b/bin/data/shaders/display/deferred/comp/comp.h @@ -209,7 +209,7 @@ void populateSurface() { const vec3 far3 = far4.xyz / far4.w; surface.ray.direction = normalize( far3 - near3 ); - surface.ray.origin = near3.xyz; // eyePos.xyz + surface.ray.origin = ubo.eyes[surface.pass].eyePos.xyz; // near3.xyz; // eyePos.xyz depth = IMAGE_LOAD(samplerDepth).r; diff --git a/engine/src/engine/ext/scene/behavior.cpp b/engine/src/engine/ext/scene/behavior.cpp index 2a6d5b33..6f06ea1a 100644 --- a/engine/src/engine/ext/scene/behavior.cpp +++ b/engine/src/engine/ext/scene/behavior.cpp @@ -1275,9 +1275,9 @@ void ext::ExtSceneBehavior::bindBuffers( uf::Object& self, uf::renderer::Graphic } if ( shouldUpdate ) { // graphic.updatePipelines(); - // graphic.update(); + graphic.update(); renderMode.rebuild = true; - // metadata.shader.invalidated = false; + metadata.shader.invalidated = false; } if ( !graphic.material.hasShader(shaderType, shaderPipeline) ) {