mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add wielded (and CAOs) shader
This commit is contained in:
parent
5b0c719171
commit
60350699c7
11 changed files with 224 additions and 40 deletions
|
@ -48,6 +48,12 @@ void translateMesh(scene::IMesh *mesh, v3f vec);
|
|||
*/
|
||||
void setMeshColor(scene::IMesh *mesh, const video::SColor &color);
|
||||
|
||||
/*
|
||||
Shade mesh faces according to their normals
|
||||
*/
|
||||
|
||||
void shadeMeshFaces(scene::IMesh *mesh);
|
||||
|
||||
/*
|
||||
Set the color of all vertices in the mesh.
|
||||
For each vertex, determine the largest absolute entry in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue