diff options
author | David R <robb_david@outlook.com> | 2022-06-21 00:28:50 -0400 |
---|---|---|
committer | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-18 00:45:42 +0200 |
commit | c2b0a873c24d74798b19a2636546b5a26be165bf (patch) | |
tree | b0692c395ade643af6144ee55cf43e45bce42b33 /drivers/gles3/storage | |
parent | ecc86afc00c6ace07bfc05ea6ebe8a971d40934b (diff) |
added usage_defines for SPECULAR_SHININESS
added usage defines for opengl3 renderer
Diffstat (limited to 'drivers/gles3/storage')
-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 aa19826953..8a8d79b3f7 100644 --- a/drivers/gles3/storage/material_storage.cpp +++ b/drivers/gles3/storage/material_storage.cpp @@ -1378,6 +1378,7 @@ MaterialStorage::MaterialStorage() { actions.usage_defines["NORMAL"] = "#define NORMAL_USED\n"; actions.usage_defines["NORMAL_MAP"] = "#define NORMAL_MAP_USED\n"; actions.usage_defines["LIGHT"] = "#define LIGHT_SHADER_CODE_USED\n"; + actions.usage_defines["SPECULAR_SHININESS"] = "#define SPECULAR_SHININESS_USED\n"; actions.render_mode_defines["skip_vertex_transform"] = "#define SKIP_TRANSFORM_USED\n"; actions.render_mode_defines["unshaded"] = "#define MODE_UNSHADED\n"; |