#[SOLVED] Can't apply shader to textured cube / can't create a textured cube mesh

6 messages · Page 1 of 1 (latest)

steady anvil
#

I'm trying to create a tiny game with minecraft style so I need textured cubes with different texture for each side, first I saw this exemple to draw a textured cube : https://www.raylib.com/examples/models/loader.html?name=models_draw_cube_texture it's working very well but I can't apply shader on it because I need a model to do so, so I tried to create a custom mesh for my textured cube to apply all the texture I want to on it but it's not working, I got the same result as GenMeshCube more or less can someone know how to do this kind of custom cube ?

brave whale
#

Draw cube is not the way to go here.

#

GenMeshCube won't help you

#

you need to create your own meshes, or mesh chunks

steady anvil
#

I finally managed to do it ! Thx.