|
Vi Shenley
Still Rezzing
Join date: 24 Oct 2006
Posts: 103
|
09-01-2008 13:49
Hi,
I have a transparent texture with just the words 'Babylon Hotel' across the middle in a nice luminous blue (using Glow and Full brightness), like a neon sign.
I have now added a script to flash the sign on and off at 1 second intervals (looks good).
What I would like to do for the next step is for the words to change color (flash) at 1 second intervals, from, say blue to pink.
Would this be best achieved by using two textures, and switching between them (or perhaps more than two), or by using one texture with the font in white, then changing the color via llSetColor ?
Vi
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
09-01-2008 21:07
i would use setcolor its faster and dont need to wait for two textures to load
_____________________
L$ is the root of all evil videos work! thanks SL 
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
09-01-2008 21:07
DEFINITELY the latter (white texture; add color). That way clients won't have to download a texture for each color change. SL really has no way of knowing, "they're the same except for color," so it has to fully update each client with each new texture. If you just change the color, that's a few bytes of data that has to be transferred on each change rather than hundreds of thousands--or even millions--of bytes.
|
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
09-01-2008 21:14
or use llSetTextureAnim and push the load client-side 
_____________________
http://slurl.com/secondlife/Together
|