I'm in need of a different shader than the default one for what I'm working on. Specifically, I need proper translucency - the default shader only allows for geometry to either be totally solid or invisible. I need to be able to make some parts of a unit only partially transparent; for example, one unit is a UFO divided into four quarter sections, two of which should be tinted to the team color but partially see-through.
So, I went to the wiki, but aside from a link to a non-existent page titled "Custom Unit Shaders" ("Normal mapping and more"), I wasn't able to find much. I did notice this on the unit textures page, though:
So I signed up on the forum today and did some searching, but I still have yet to come up with any relevant results. Am I missing something here, or are these ARB shader variants just somewhat elusive?Blue values do not have a use, in the standard ARB shader. There are variants of the ARB shader available, where the blue value does various things. These derivative versions of Spring's ARB shader code are Open Source, so please ask around if you want to know more about these, people will be happy to share them with you.
Thanks!