summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-07-26 08:07:22 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-07-27 08:31:06 +0300
commitbbf76faf867459cdf4981771e87b6eafdd5c21f0 (patch)
tree1fd4dc96c894e50f4a4bf321528d1d98221696ab /drivers
parentad9a8e70f499267251daaa4cb51f3c2545d4ad4e (diff)
Fix `FOG` built-in in spatial/fragment shader
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/storage/material_storage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/storage/material_storage.cpp b/drivers/gles3/storage/material_storage.cpp
index 91c4320acc..4cd8dd0b14 100644
--- a/drivers/gles3/storage/material_storage.cpp
+++ b/drivers/gles3/storage/material_storage.cpp
@@ -1518,7 +1518,7 @@ MaterialStorage::MaterialStorage() {
actions.renames["NORMAL_ROUGHNESS_TEXTURE"] = "normal_roughness_buffer";
actions.renames["DEPTH"] = "gl_FragDepth";
actions.renames["OUTPUT_IS_SRGB"] = "true";
- actions.renames["FOG"] = "custom_fog";
+ actions.renames["FOG"] = "fog";
actions.renames["RADIANCE"] = "custom_radiance";
actions.renames["IRRADIANCE"] = "custom_irradiance";
actions.renames["BONE_INDICES"] = "bone_attrib";