mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
the CAPTURING flag was being improperly checked for existence instead of state, leading to overbrightness in the precence of metalness. removed hacky workaround, and applied the proper fix. also foreshortened the roughness range to avoid values outside of f0 going asymptotic. alternative suggestion for if that portion plays up: surface.roughness = pbrProperties.b*0.92f+0.04f; to clamp(gbuffer2.b, 0.04f, 0.96f); (basically a case of do we support more fine-grained differences or just chuck anything too extreem) |
||
|---|---|---|
| .. | ||
| BaseGame | ||
| Modules | ||