Blender Git Commit Log

Git Commits -> Revision ec0eeb9

Revision ec0eeb9 by Clément Foucault (master)
March 28, 2019, 21:08 (GMT)
DRW/Eevee: Add correct support for Orco

Until now, Orcos were computed by the gpu (GLSL) and were not taking into
account the modifier stack (breaking orco for deformed mesh).

Now Orco is now computed on CPU but only if a modifier stack is present.

Tagging that an ORCO layer is present is done via a 4th component, which is
a waste of memory/bandwidth. Best would be to do the same as auto attrib
color space and save a bool uniform somewhere but for now it's too
disruptive.

Commit Details:

Full Hash: ec0eeb918baca89dece33a6d95c7b8c913507a80
Parent Commit: 1ef5902
Lines Changed: +68, -10

3 Modified Paths:

/source/blender/draw/intern/draw_cache_impl_mesh.c (+60, -8) (Diff)
/source/blender/gpu/GPU_batch.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+7, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021