Closed Frank-Dz closed 4 years ago
In the dirt, how to directly bind RGB to the vertices of each 3D model when rendering, instead of using UVmap-based textures. Best show some demo codes~
Thanks in advance! Best,
samples/simple.py shows how to do this. If instead you want per-pixel not per-vertex lighting, see samples/deferred.py.
samples/simple.py
samples/deferred.py
In the dirt, how to directly bind RGB to the vertices of each 3D model when rendering, instead of using UVmap-based textures. Best show some demo codes~
Thanks in advance! Best,