Blender Git Loki

Git Commits -> Revision 06a60fe

Revision 06a60fe by Germano Cavalcante (master)
August 26, 2021, 16:03 (GMT)
PyAPI: GPU: expose clip distances

Now you can get a shader that uses Clip Planes and set the number of
Clip Distanes with `gpu.state.clip_distances_set(value)`.

Commit Details:

Full Hash: 06a60fe9f70061cd28af3ffcbf075273225d54b2
Parent Commit: edb95b3
Lines Changed: +58, -7

2 Modified Paths:

/source/blender/python/gpu/gpu_py_shader.c (+32, -7) (Diff)
/source/blender/python/gpu/gpu_py_state.c (+26, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021