Fix T50550: GPUShader: compile error - Background image not showing in
viewport. Caused by rBd6cf28c5e15739f864fbf04614c2a50708b4b152, which forgot to update the GLSL code for the "Light Path" node.
This commit is contained in:
parent
15b253c082
commit
d6f965b99c
Notes:
blender-bot
2024-01-31 11:35:08 +01:00
Referenced by issue #50550, GPUShader: compile error - Background image not showing in viewport
|
@ -3536,6 +3536,8 @@ void node_light_path(
|
|||
out float is_transmission_ray,
|
||||
out float ray_length,
|
||||
out float ray_depth,
|
||||
out float diffuse_depth,
|
||||
out float glossy_depth,
|
||||
out float transparent_depth,
|
||||
out float transmission_depth)
|
||||
{
|
||||
|
@ -3548,6 +3550,8 @@ void node_light_path(
|
|||
is_transmission_ray = 0.0;
|
||||
ray_length = 1.0;
|
||||
ray_depth = 1.0;
|
||||
diffuse_depth = 1.0;
|
||||
glossy_depth = 1.0;
|
||||
transparent_depth = 1.0;
|
||||
transmission_depth = 1.0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue