How do i get my grate textures to cast shadows. The shader file i currently have is:
textures/bill_tex/grate01
{
cull disable
{
map textures/bill_tex/grate01.tga
rgbGen identity
depthWrite
alphaFunc GE128
}
{
map $lightmap
blendfunc filter
rgbGen identity
tcGen lightmap
depthFunc equal
}
}
I think i must be missing something. I have made the surface the shadow is falling on a func_group with a _lightmapscale of 0.25
Thanks for any help :moo: