Shading: Add object color to Object Info node.
The object color property is added as an additional output in the Object Info node. Reviewers: brecht Differential Revision: https://developer.blender.org/D5554
This commit is contained in:
@@ -542,8 +542,8 @@ const char *GPU_builtin_name(eGPUBuiltin builtin)
|
||||
else if (builtin == GPU_VIEW_NORMAL) {
|
||||
return "varnormal";
|
||||
}
|
||||
else if (builtin == GPU_OBCOLOR) {
|
||||
return "unfobcolor";
|
||||
else if (builtin == GPU_OBJECT_COLOR) {
|
||||
return "unfobjectcolor";
|
||||
}
|
||||
else if (builtin == GPU_AUTO_BUMPSCALE) {
|
||||
return "unfobautobumpscale";
|
||||
|
||||
Reference in New Issue
Block a user