Page 1 of 1

multi layer textures

Posted: Fri Jul 02, 2010 2:27 am
by hutty
i am not sure if this has been said yet, but I have run into a place where it would be nice to apply 2 materials to an object at the same time.

for example
I have a wall
the material on the wall has transparent patches
I want a moving texture of fluid or something in the patches
it would be nice to first place the moving texture, then put the wall texture on top of it

this is currently possible by using 2 objects, but it would be nice to simply use 2 materials

Re: multi layer textures

Posted: Fri Jul 02, 2010 7:59 pm
by Spazzy McGee
An interesting point. I am unsure of how easy that is to achieve though.

Similarly, I would like to see the ability to 'tier' textures, so that if one texture doesn't load (e.g. it is blocked), it displays another.

Re: multi layer textures

Posted: Fri Jul 02, 2010 8:09 pm
by trepan
Available in 2.99.x via lua client-side scripts.

Re: multi layer textures

Posted: Sat Jul 03, 2010 1:06 am
by hutty
I'm not quit sure what lua can do or how it works?

Is is easy to write scripts?
Is is simple like java script? or complex like c++?
Is their any documentation?

Re: multi layer textures

Posted: Sat Jul 03, 2010 1:21 am
by Bambino
Google is handy....http://www.lua.org/

Re: multi layer textures

Posted: Tue Jul 06, 2010 9:39 pm
by Spazzy McGee
trepan wrote:Available in 2.99.x via lua client-side scripts.
But never possible with server-side scripts, scripts embedded in map files?