This was because the main `surface_vert.glsl` was changed to accomodate the needs of the `ShaderCreateInfo` but was still used by the cryptomatte shader. The fix is to include the same libraries as the material shaders and bypass `attrib_load()`.
7 lines
234 B
GLSL
7 lines
234 B
GLSL
|
|
#pragma BLENDER_REQUIRE(closure_type_lib.glsl)
|
|
#pragma BLENDER_REQUIRE(common_view_lib.glsl)
|
|
#pragma BLENDER_REQUIRE(common_math_lib.glsl)
|
|
#pragma BLENDER_REQUIRE(common_attribute_lib.glsl)
|
|
#pragma BLENDER_REQUIRE(surface_vert.glsl)
|