Blender Git Loki

Git Commits -> Revision 26ceb98

Revision 26ceb98 by Lukas Toenne (strand_gpu, strand_nodes)
July 12, 2016, 06:09 (GMT)
Use DynString to "include" shared code in the strand vert/geom/frag shaders.

This way we can avoid duplicate code for effects without going out of sync.

Commit Details:

Full Hash: 26ceb98ced0d6f88d8756d511614f989aea1ab71
Parent Commit: 062e52b
Lines Changed: +59, -56

2 Added Paths:

/source/blender/gpu/shaders/gpu_shader_strand_effects.glsl (+33, -0) (View)
/source/blender/gpu/shaders/gpu_shader_strand_util.glsl (+6, -0) (View)

4 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_strands.c (+12, -12) (Diff)
/source/blender/gpu/shaders/gpu_shader_strand_geom.glsl (+0, -34) (Diff)
/source/blender/gpu/shaders/gpu_shader_strand_vert.glsl (+6, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021