you did it for me, wow, thankyou very much!!! That's a much better approach! One more thing though, if anyone has the time...
What if I have a few BMAP* declared in my script (for the different materials the blocks can be made from)? I know how to import them for the shader to use, and how to select a different BMAP to sample depending on a skill. The problem is I do it with "if" statements, and I was told if statements are slow and sloppy for shaders. How could it be done withought if statements? (I can't seem to come up with the evil formula required to do this withought using "if" statements in my shader)
If anyone could provide an example for, let's say, only 3 BMAPS I could try figure out how to adapt the formula for it to work with the ton of materials I will use, thanks.


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1