mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Ensure uv2_attrib(_input) is available when rendering lightmap.
This commit is contained in:
parent
295e465fe4
commit
3a003b2d96
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)
|
||||
vec2 uv_attrib_input,
|
||||
#endif
|
||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP)
|
||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP) || defined(RENDER_MATERIAL)
|
||||
vec2 uv2_attrib_input,
|
||||
#endif
|
||||
#ifdef USE_MULTIVIEW
|
||||
|
|
@ -915,7 +915,7 @@ void main() {
|
|||
#if defined(UV_USED)
|
||||
uv_attrib,
|
||||
#endif
|
||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP)
|
||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP) || defined(RENDER_MATERIAL)
|
||||
uv2_attrib,
|
||||
#endif
|
||||
#ifdef USE_MULTIVIEW
|
||||
|
|
@ -948,7 +948,7 @@ void main() {
|
|||
#if defined(UV_USED)
|
||||
uv_attrib,
|
||||
#endif
|
||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP)
|
||||
#if defined(UV2_USED) || defined(USE_LIGHTMAP) || defined(RENDER_MATERIAL)
|
||||
uv2_attrib,
|
||||
#endif
|
||||
#ifdef USE_MULTIVIEW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue