Try my new website: www.urcho.com - the new SIMPLE social network
blitz code snippets Sign up | 357 members | 125 snippets
Search for:

Username:
Password:


Instant Cliffs by Mr Snidesmin

[back]
Author: Archive | Viewed: 484 times | Language: BlitzBasic 3D | Category: 3D Effects
Author Comments:
This function applies textures to a meshs triangles based on the gradient of the triangles slope. This way you can easily apply a cliff texture to cliffs etc without having to do it manually. Up to 5 grades of texture can be applied with the function as it is, but it can be modified for more or less with ease. Example is included. You just need to create the textures and terrain mesh.
Login or create an account to comment on this snippet