Page 1 of 1

Transparent Textures & Lighting

Posted: Fri Aug 22, 2008 12:57 pm
by Smithy
I know it isn't a big deal, but I've noticed that my transparent textures don't allow light to pass through, even though on the stock maps there are numerous occasions when light is shown passing through grates etc.

I have a ceiling grate on my map, with a light directly below it, and it is at 200 intensity. I don't want to put a light on the other side of it because it doesn't look right.

Image

Image

Any ideas?

Oh and I've tried the grates using no-draw and without no-draw and it still comes out the same. I know I can use patch mesh, but I've decompiled stock maps and their grates are brushes.

Posted: Fri Aug 22, 2008 2:56 pm
by jv_map
I believe your grate texture needs surfaceparm trans for this to work. Put common/nodraw on all other sides.

Posted: Tue Aug 26, 2008 5:06 pm
by Rookie One.pl
I would also recommend surfaceparm alphashadow.

Posted: Tue Aug 26, 2008 5:58 pm
by PKM
Rookie One.pl wrote:I would also recommend surfaceparm alphashadow.
<interested>go on...</interested>

Posted: Tue Aug 26, 2008 6:39 pm
by Rookie One.pl
*hints toward the search link at the top of the page*

Posted: Mon Oct 20, 2008 7:48 pm
by tuxcayc
totally offtopic, sorry, but why are your images mirrored?
bye.

btw, im curious about that alphashadow, got to try it ;)

Posted: Mon Oct 20, 2008 7:53 pm
by Rookie One.pl
Search the forums for alphashadow, I recall Mj making a very informative post about it and what can be done with it. Basically it enables per-pixel shadowing for transparent textures.