For some reason I can’t get the models to light, the shaders are loaded and functional. But when i compile i don’t get any light :disgust:
Any ideas what i can try?
Q3 Lighted models
Sinni
(Sinni)
#1
ydnar
(ydnar)
#2
What type of models? Misc_model entities? Misc_gamemodel entities?
Players/weapons/ammo?
Post your shaders, too.
y
Sinni
(Sinni)
#4
models/mapobjects/urban_terror/lamp/glass_lit
{
qer_editorimage models/mapobjects/urban_terror/lamp/glass_lit
surfaceparm nomarks
q3map_surfacelight 20000
{
map $lightmap
rgbGen identity
}
{
map models/mapobjects/urban_terror/lamp/glass_lit
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
{
map models/mapobjects/urban_terror/lamp/glass_lit
blendfunc GL_ONE GL_ONE
}
}
Thats the First one in the file, I tried copying them to a different shader file, and still didn’t werk. But if i go in and edit the mapmodel and assign it to say with this one to “textures/Sinni/glass_lit” and change all the textures to point to it in textures/Sinni/glass_lit it reads it. kinda a pain in the ass, but if it werks go with it. And what is the Forcemeta thing?