mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #106844 from LiveTrower/dfg-reconstruction
Fix missing ibl reconstruction from DFG multiscattering
This commit is contained in:
commit
7830c5fadc
1 changed files with 1 additions and 1 deletions
|
|
@ -2078,7 +2078,7 @@ void fragment_shader(in SceneData scene_data) {
|
|||
|
||||
// cheap luminance approximation
|
||||
float f90 = clamp(50.0 * f0.g, metallic, 1.0);
|
||||
indirect_specular_light *= energy_compensation * (f90 * envBRDF.x + f0 * envBRDF.y);
|
||||
indirect_specular_light *= energy_compensation * ((f90 - f0) * envBRDF.x + f0 * envBRDF.y);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue