diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-24 23:34:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 23:34:41 +0200 |
commit | 12ddaa36a6408912a9747d95bb089bf6931f4fd1 (patch) | |
tree | 75c9923e2ba71a68dc81d6a536312e1eb9a609b7 /drivers | |
parent | a19e02e8d8a44eca900783921f5f859b2c071772 (diff) | |
parent | 4f82b1bd208b0559f21f574aff83feb925a092bb (diff) |
Merge pull request #60641 from clayjohn/Sky-ign
Use IGN instead of white noise for sky dithering
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/storage/material_storage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/storage/material_storage.cpp b/drivers/gles3/storage/material_storage.cpp index 698bcf3ec2..fd50bdedbd 100644 --- a/drivers/gles3/storage/material_storage.cpp +++ b/drivers/gles3/storage/material_storage.cpp @@ -1630,6 +1630,7 @@ ShaderCompiler::DefaultIdentifierActions actions; actions.renames["SKY_COORDS"] = "panorama_coords"; actions.renames["SCREEN_UV"] = "uv"; actions.renames["TIME"] = "time"; + actions.renames["FRAGCOORD"] = "gl_FragCoord"; actions.renames["PI"] = _MKSTR(Math_PI); actions.renames["TAU"] = _MKSTR(Math_TAU); actions.renames["E"] = _MKSTR(Math_E); |