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:
parent
d2dda0e8b9
commit
037e66999a
Notes:
blender-bot
2023-02-13 17:35:38 +01:00
Referenced by issue #91796, "Generated" Texture Coordinate Option does not work with anything Referenced by issue #91755, Eevee not rendering any of the texture nodes in Principled BSDF inputs. Referenced by issue #91757, Generated UV texture coordinates produces no texture coordinates in Eevee Referenced by issue #91697, EEVEE regression: Generated texture coordinates completly missing
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue