Splatting is working

Published February 03, 2006
Advertisement
I managed to get multitexturing working, and i'm pretty happy with the results. I now have an alpha map texture, which is used to "stamp" the new texture on top of the existing base tile. With the addition of texture splatting, the old system of blending tiles with their neighbors is thrown out the window, seeing that texture splatting can take care of this for me now. If you would like to use splatting as well (without shaders), I have included code to do this with or without the use of vertex arrays (see here).

In a nutshell, I am just replacing the alpha values of a texture with the alpha values in my selected alpha tile, and attaching that texture to a quad which is rendered over top of the base texture. An example:


base.jpg + splat.jpg + splatTexture.jpg

=

azrial-screenshot4.jpg
Previous Entry Gui Complete
Next Entry Model Refactoring
0 likes 2 comments

Comments

Balaam
Hey this is looking really good! Keep up the good work :D
February 03, 2006 08:40 PM
Nit
Thanks for the support. Still a long way to go.
February 04, 2006 09:06 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement