Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

crossfading textures

errcheck Hicks
Registered User
Join date: 20 Apr 2006
Posts: 2
02-11-2009 21:51
I've seen it done. How do you use LSL to get a series of photos to smoothly crossfade?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
02-11-2009 22:02
You could use two stacked prims, or even use a hollowed box and put the textures on the inside and front.

Either way, you can use a little loop to increment or decrement llSetAlpha on the front face to reveal or hide the rear texture. Switch the front texture while the front's alpha is at 0, switch the rear's texture when the front is at 1.