Fix T57489 Eevee: Texture coordinate object reference not working for world
This commit is contained in:
parent
956d38488a
commit
91b4262728
Notes:
blender-bot
2023-04-19 22:54:54 +02:00
Referenced by issue #57489, Texture coordinate object reference not interactively updating in Eevee
|
@ -2224,7 +2224,7 @@ void node_tex_coord_background(vec3 I,
|
|||
generated = coords;
|
||||
normal = -coords;
|
||||
uv = vec3(attr_uv.xy, 0.0);
|
||||
object = coords;
|
||||
object = (obmatinv * vec4(coords, 1.0)).xyz;
|
||||
|
||||
camera = vec3(co.xy, -co.z);
|
||||
window = vec3(mtex_2d_mapping(I).xy * camerafac.xy + camerafac.zw, 0.0);
|
||||
|
|
Loading…
Reference in New Issue