Skip to content
Snippets Groups Projects
Commit 402dd629 authored by Alexander Rose's avatar Alexander Rose
Browse files

shader assignment fix

parent bdae55d0
Branches
Tags
No related merge requests found
#if defined(dColorType_uniform) #if defined(dColorType_uniform)
vec4 material.rgb = uColor; vec4 material = vec4(uColor, 1.0);
#elif defined(dColorType_attribute) || defined(dColorType_instance) || defined(dColorType_element) || defined(dColorType_elementInstance) || defined(dColorType_objectPicking) || defined(dColorType_instancePicking) || defined(dColorType_elementPicking) #elif defined(dColorType_attribute) || defined(dColorType_instance) || defined(dColorType_element) || defined(dColorType_elementInstance) || defined(dColorType_objectPicking) || defined(dColorType_instancePicking) || defined(dColorType_elementPicking)
vec4 material = vColor; vec4 material = vColor;
#endif #endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment