dswp.de
http://www.dswp.de/old/

Shadow Bug
http://www.dswp.de/old/mapping/shadow-bug-t1348.html
Page 1 of 1

Author:  Rylius [ 11.14.09 ]
Post subject:  Shadow Bug

So I started another map, and now I want to have some blood marks around.
I copied the blood.shader, adjustet a few paths and now it works quite nice. No z-fighting, transparent background and all that stuff.
But if I walk on it, the shadows are screwed.
Attachment:
shot0046.jpg

Can someone help me how I could fix it? I tried adding map $lightmap to the shader, but then its way too bright.

Heres an example of the shader:
Code:
//   new dark blood splats when bleeding or shot   //
textures/ut4_boxcity/bloodMark
{
        nopicmip                        // make sure a border remains
        polygonOffset
        entityMergable          // allow all the sprites to be merged together
        {
                clampmap gfx/damage/blood_stain.tga
                blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
                rgbGen vertex
                alphaGen vertex
        }
}


Im using ambient 200 as long as the lighting isnt finished, can this cause this bug?

Just ask if you need more info

Any help would be appreciated :)

ps: ye the minimap is screwed :P

Author:  SteveMcqueen [ 11.14.09 ]
Post subject:  Re: Shadow Bug

srx da hab ich keine ahnung... versuch das ganze im #urbanmappers channel im EnterTheGame IRC netzwerk zu erfragen, da wirste sicherlich geholfen...

Author:  Rylius [ 11.14.09 ]
Post subject:  Re: Shadow Bug

oki probier ich mal die tage
danke trotzdem :)

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/