FIX: T91697 Eevee Generated texture coordinates completly missing
This patch fixes Eevee-regression https://developer.blender.org/T91697 Reviewed By: jbakker Differential Revision: https://developer.blender.org/D12634
This commit is contained in:
@@ -718,7 +718,7 @@ static char *code_generate_vertex(GPUNodeGraph *graph,
|
||||
BLI_dynstr_append(ds, datatoc_gpu_shader_common_obinfos_lib_glsl);
|
||||
BLI_dynstr_append(ds, "DEFINE_ATTR(vec4, orco);\n");
|
||||
}
|
||||
if (attr->type == CD_HAIRLENGTH) {
|
||||
else if (attr->type == CD_HAIRLENGTH) {
|
||||
BLI_dynstr_append(ds, datatoc_gpu_shader_common_obinfos_lib_glsl);
|
||||
BLI_dynstr_append(ds, "DEFINE_ATTR(float, hairLen);\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user