forked from LeenkxTeam/LNXSDK
Update
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user