Bug #71
shaders missing lightmap
| Status: | New | Start date: | 10/09/2011 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | 2D-Arts Textures | Spent time: | - | |
| Target version: | - |
Description
if you add a stage with enviroment effects, the lightmap stage is missing
in q3 you could add a stage with lightmap
map _lightmap should work as kpq3/wiki/Shader_Manual sugests, but i cant seem to make use of it
eg..
tcGen environment
cubeMap cubemaps/industrial/industrial_01
History
Updated by hypov8 5 months ago
DECAL_MACRO seems to have some weird lighting issues also
you can notice this with flashlight, RL etc.
Updated by hypov8 3 months ago
in shaders with decal_macro, or polygonoffset
you can add sort 3 after it to show dynamic lightmap and will show bumpmaps on decals
note. will not work with blend func's. has to be only a diffuse map
textures/decals/123
DECAL_MACROS
sort 3
}
{
blend diffusemap
map textures/decals/123.png
alphatest 0.5
}
}
textures/decals/124
polygonoffset
sort 3
}
{
blend diffusemap
map textures/decals/124.png
}
bumpmap textures/decals/124_normal
}