mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Merge pull request #111466 from BastiaanOlij/fix_gles3_lightmap_uv2_attrib
Ensure uv2_attrib(_input) is available when rendering lightmap.
This commit is contained in:
commit
d598753c1a
1 changed files with 3 additions and 3 deletions
|
@ -560,7 +560,7 @@ void vertex_shader(vec4 vertex_angle_attrib_input,
|
||||||
#if defined(UV_USED)
|
#if defined(UV_USED)
|
||||||
vec2 uv_attrib_input,
|
vec2 uv_attrib_input,
|
||||||
#endif
|
#endif
|
||||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP)
|
#if defined(UV2_USED) || defined(USE_LIGHTMAP) || defined(RENDER_MATERIAL)
|
||||||
vec2 uv2_attrib_input,
|
vec2 uv2_attrib_input,
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_MULTIVIEW
|
#ifdef USE_MULTIVIEW
|
||||||
|
@ -915,7 +915,7 @@ void main() {
|
||||||
#if defined(UV_USED)
|
#if defined(UV_USED)
|
||||||
uv_attrib,
|
uv_attrib,
|
||||||
#endif
|
#endif
|
||||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP)
|
#if defined(UV2_USED) || defined(USE_LIGHTMAP) || defined(RENDER_MATERIAL)
|
||||||
uv2_attrib,
|
uv2_attrib,
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_MULTIVIEW
|
#ifdef USE_MULTIVIEW
|
||||||
|
@ -948,7 +948,7 @@ void main() {
|
||||||
#if defined(UV_USED)
|
#if defined(UV_USED)
|
||||||
uv_attrib,
|
uv_attrib,
|
||||||
#endif
|
#endif
|
||||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP)
|
#if defined(UV2_USED) || defined(USE_LIGHTMAP) || defined(RENDER_MATERIAL)
|
||||||
uv2_attrib,
|
uv2_attrib,
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_MULTIVIEW
|
#ifdef USE_MULTIVIEW
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue