Shadow Bug

*map* *map* *map*

Shadow Bug

Postby Rylius » 11.14.09

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.
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: Select all
//   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
You do not have the required permissions to view the files attached to this post.
wursti wrote:Anime? wow thats that movies where 100 dicks come out of a monster?
User avatar
Rylius
posted some :)
 
Posts: 312
Joined: 01.24.09
Location: Germany

Re: Shadow Bug

Postby SteveMcqueen » 11.14.09

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

Re: Shadow Bug

Postby Rylius » 11.14.09

oki probier ich mal die tage
danke trotzdem :)
wursti wrote:Anime? wow thats that movies where 100 dicks come out of a monster?
User avatar
Rylius
posted some :)
 
Posts: 312
Joined: 01.24.09
Location: Germany


Who is online

Users browsing this forum: No registered users and 6 guests

Misc