1
1

Fix EEVEE: Shader error when using volume temperature or color attributes

This bug was unreported. This was triggering a linking error caused by
the vertex shader not having a local version of `attr_load_temperature_post`
and `attr_load_color_post`.
This commit is contained in:
2022-06-07 17:55:12 +02:00
parent 60442b0292
commit 391485f412

View File

@@ -76,4 +76,14 @@ vec3 coordinate_reflect(vec3 P, vec3 N)
vec3 coordinate_incoming(vec3 P)
{
return vec3(0.0);
}
}
float attr_load_temperature_post(float attr)
{
return attr;
}
vec4 attr_load_color_post(vec4 attr)
{
return attr;
}