AlphaMod ( 0 0 1 ) ? Explanation please?


(wudan) #1

I’ve seen snippets about:
alphamod ( 0 0 1 )
and how you use it on a two stage shader, with the second stage being your ‘sand/snow’ - whatever you want to ‘alphamod’

Ok - seen one or two screenies of y’s out there, and I wanted some of that hot AlphaMod action for myself.

How?
What format does the sand/snow have to be in? 32 bit tga with an alpha channel for ‘baking’ the sand/snow into the terrain?

Would it someday be possible to use a grass texture as the ‘sand/snow’ and have fur/grass on it?

Can I use it on more than two stage? Or do I make the one I want to do it on, then cloneshader the alphamod in on it?

Q’s Q’s Q’s. You have my sympathies, I’m addicted to my Q3Map2, and you are the only dealer …


(wudan) #2

I see it in ZeroWing:
http://zerowing.idsoftware.com/archives/gtkradiant/2002-October/004197.html

I see it in GTK’s source:
http://zerowing.idsoftware.com/doxygen/GtkRadiant-spog_branch/html/model_8c-source.html

I’ve seen screenies:

Please Please Please give me a hint at how how how?