From 38940662e540743a6a8da287390a02a9f3f76f6d Mon Sep 17 00:00:00 2001 From: Alexander Romanov Date: Tue, 14 Jul 2015 18:48:54 +0200 Subject: Particle Info node support for GLSL mode and the internal render. With this patch "Particle Info" node from Cycles works in GLSL and BI Alexander (Blend4Web Team) Reviewers: psy-fi Note: moved particle info to object render instance instead of shadeinput during review - Antony. Differential Revision: https://developer.blender.org/D1313 --- source/blender/gpu/GPU_draw.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/gpu/GPU_draw.h') diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index 2e160683618..a6bc5ff002f 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -45,6 +45,7 @@ struct Scene; struct View3D; struct RegionView3D; struct SmokeModifierData; +struct DupliObject; /* OpenGL drawing functions related to shading. These are also * shared with the game engine, where there were previously @@ -72,6 +73,9 @@ void GPU_end_object_materials(void); int GPU_enable_material(int nr, void *attribs); void GPU_disable_material(void); +void GPU_begin_dupli_object(struct DupliObject *dob); +void GPU_end_dupli_object(void); + void GPU_material_diffuse_get(int nr, float diff[4]); bool GPU_material_use_matcaps_get(void); -- cgit v1.2.3