From e234ce9b2272323ef2666d3f0718ecb8c688b693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 9 Oct 2018 17:32:13 +0200 Subject: Eevee: Add support/Fix Object Info node Caveat: Random output does not yet work with instance (dupli) objects. --- source/blender/gpu/GPU_shader_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_shader_interface.h') diff --git a/source/blender/gpu/GPU_shader_interface.h b/source/blender/gpu/GPU_shader_interface.h index 458a49a366b..af89e487cf8 100644 --- a/source/blender/gpu/GPU_shader_interface.h +++ b/source/blender/gpu/GPU_shader_interface.h @@ -58,6 +58,7 @@ typedef enum { GPU_UNIFORM_COLOR, /* vec4 color */ GPU_UNIFORM_EYE, /* vec3 eye */ GPU_UNIFORM_CALLID, /* int callId */ + GPU_UNIFORM_OBJECT_INFO, /* vec3 objectInfo */ GPU_UNIFORM_CUSTOM, /* custom uniform, not one of the above built-ins */ -- cgit v1.2.3