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
_________________
wursti wrote:
Anime? wow thats that movies where 100 dicks come out of a monster?