This commit is contained in:
2026-04-30 00:42:47 -07:00
parent 0245e2e1e6
commit 53cdb7d2ff
2 changed files with 6 additions and 2 deletions

View File

@ -864,7 +864,8 @@ class Uniforms {
f = iron.App.w() / iron.App.h();
}
case "_frameScale": {
f = RenderPath.active.frameTime / Time.delta;
var d = Time.delta;
f = d > 0.0001 ? Math.min(RenderPath.active.frameTime / d, 2.0) : 1.0;
}
case "_fieldOfView": {
f = camera.data.raw.fov;