Topic: How do I make a surface not cast shadows?

As the title suggests I'm looking for a way to force the lightmap stage to ignore my shader. I'm trying to create a flame for my torches, but when I finally got an acceptable result and started adding them all over my map I noticed this annoying shadow being cast by the surface of my shader. I have been googling the web for hours now trying to find a solution but nothing seems to do the trick.

Here is my shader and a screenshot of the results both in the game and in the editor. Any ideas on what I should be doing to fix this?

textures/lade-wswca1/flame
{
    qer_editorimage textures/lade-wswca1/flame.tga
    DeformVertexes autosprite2
    Deformvertexes wave 64 sin 0 1 0,3 2

    surfaceparm trans
    surfaceparm nolightmap
    surfaceparm alphashadow
    surfaceparm nonsolid
    surfaceparm nomarks

    cull disable
    {
        map textures/lade-wswca1/flame.tga
        blendfunc blend
        tcMod turb 0 0.1 0 5 sin
    }
}

http://img205.imageshack.us/img205/74/shadowsfromhellxe8.jpg

2

Re: How do I make a surface not cast shadows?

remove surfaceparm alphashadow

No pigs were harmed in the making of this game.

¡Puxa Sporting!

Re: How do I make a surface not cast shadows?

Didn't work. sad

Re: How do I make a surface not cast shadows?

put a light on other side?

http://www.foopics.com/showfull/a0dcc1d … 20d8d088ff
CLICK HERE TO SEE MY PWNAGE!^^^^ OMG IT'S 15 ICONS!
http://byrdemon.ytmnd.com/ BARBARIC!

Re: How do I make a surface not cast shadows?

how do I shoot web?

Debating the topic of importance.

Re: How do I make a surface not cast shadows?

#Zebus wrote:

put a light on other side?

That was one of the things I tried myself. But that only resulted in the shadow being projected in the other direction, which looked quite odd. smile

I did find a workaround though, by moving the light source directly above the flame.

http://img512.imageshack.us/img512/9167/workaoundxq9.jpg
http://img512.imageshack.us/img512/workaoundxq9.jpg/1/w320.png

It seems to be working just fine as a solution for this particular problem. But there must be some way of having a surface that doesn't interact at all with the lightmap process. For effects just like this one where shadows are not desirable. Would be useful to know how for future reference. smile

7

Re: How do I make a surface not cast shadows?

did you make sure the brush was detail? Cause being trans is what disables shadows afaik

No pigs were harmed in the making of this game.

¡Puxa Sporting!

Re: How do I make a surface not cast shadows?

Yep they are set as detail. I actually had to start up gtkradiant and check because I don't recall making them detail, but apparently I did.