Blender Git Loki

Git Commits -> Revision 4bb6be0

August 17, 2019, 12:48 (GMT)
DRW: Fix eevee shaders and promote DRAW_ID to builtin uniform

Also rename DRAWID to BASE_INSTANCE

The Base instance uniform is necessary because fragment shaders
does not have the gl_BaseInstance builtin input variable.

So we need a workaround for those

Commit Details:

Full Hash: 4bb6be01ed934a155096073c470af926d13a2ee0
Parent Commit: fb94075
Lines Changed: +28, -19

6 Modified Paths:

/source/blender/draw/intern/draw_manager.h (+5, -3) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+2, -6) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+1, -1) (Diff)
/source/blender/draw/modes/shaders/common_view_lib.glsl (+15, -6) (Diff)
/source/blender/gpu/GPU_shader_interface.h (+4, -3) (Diff)
/source/blender/gpu/intern/gpu_shader_interface.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021