X,Z to U,V
Blitz3D Forums/Blitz3D Programming/X,Z to U,V
| ||
Hi, I got shadows using a towel mesh textured with the shadow. Now i was thinking of getting rid of the mesh and paint the texture directly on to the terrain mesh. The terain mesh is 256x256 scaled to 25600x25600 and the colormap is 512x512. The shadow texture is 256x256 and is loaded with the flags 16+32 to prevent wrapping. How do i get the coordinates for positioning the shadow at the player? |
| ||
That's going to be considerably slower and extremely low detail with any decently sized terrain. |
| ||
I see, so i'm better of with towel meshes?? |
| ||
In that case, I believe you would be. You'll get much much prettier results. |
| ||
Ok, thank you for the help ;) |