SeXXXy Bliss
SL Addict
Join date: 21 Dec 2004
Posts: 436
|
09-05-2005 13:43
I would like to create windows in the TGA format for the game that will have an extra prim in the middle of them with the darkening script in it.
Okay, here is my dilemna....when I place the 'glass' in the window and add the darkening script it allows the window prim to show through the wall.
Is there a way that this can be done and look good w/o the dark 'glass' showing through?
|
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
|
09-05-2005 16:15
My best guess would be to do it with textures - SL's handelling of transparent objects in front of each other is from perfect (understatement of the day).
ie have two textures you swap over or (preferably) two versions of the image in one texture that you move to change it.
|
a lost user
Join date: ?
Posts: ?
|
09-05-2005 17:51
why not make two separate textures: one for clear window, one for darkened window. Then rather than using the llSetAlpha() technique that 99% of window tinting scripts use, use a llSetTexture() technique instead. Sure there's a bit more setup involved but it's a much nicer effect.
|