Can this stoopid error be fixed, its 2015 shader and model.
Vertex color specified for shader 'static_carrusted', but vertex colors are not valid for this model
Vertex color specified for shader 'static_carwindowr', but vertex colors are not valid for this model
Vertex color specified for shader 'static_carwindowr', but vertex colors are not valid for this model
Vertex color specified for shader 'static_carrusted', but vertex colors are not valid for this model
Vertex color specified for shader 'static_carwindowr', but vertex colors are not valid for this model
Vertex color specified for shad.........
It just bogs up the console and cannot be good for the map.
shader error
Moderator: Moderators
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
I think you put a vehicle -> car in your map, but this shader is written for a static car (static -> vehicles -> car). That's what causes this error.
I know you need a non-static car in your map since it has to blow up, so I guess you'll have to make new shaders for it.
Just copy those of the static car and replace
rgbGen vertex
with
rgbGen lightingSpherical
Then it should work fine.
I know you need a non-static car in your map since it has to blow up, so I guess you'll have to make new shaders for it.
Just copy those of the static car and replace
rgbGen vertex
with
rgbGen lightingSpherical
Then it should work fine.
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
The shader looks like this, if I do what you said it looks like it will repeat itself, maybe zzzzzzzz its 1 am.
Bye
// Rusted Civilian Car
carrusted
{
cull none
qer_editorimage textures/models/VEHICLES/car/carrusted.tga
{
map textures/models/VEHICLES/car/carrusted.tga
rgbGen lightingSpherical
}
}
// Static Rusted Civilian Car
static_carrusted
{
cull none
qer_editorimage textures/models/VEHICLES/car/carrusted.tga
{
map textures/models/VEHICLES/car/carrusted.tga
rgbGen vertex
}
}
// Rusted Civilian Car Window
carwindowR
{
qer_editorimage textures/models/vehicles/car/carWindowR.tga
cull none
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
alphaGen const 0.05
blendFunc blend
}
{
map textures/models/vehicles/car/carWindowR.tga
rgbGen lightingSpherical
blendFunc blend
}
}
// Static Rusted Civilian Car Window
static_carwindowR
{
qer_editorimage textures/models/vehicles/car/carWindowR.tga
cull none
{
map textures/common/reflection1.tga
rgbGen vertex
tcgen environmentmodel
alphaGen const 0.05
blendFunc blend
}
{
map textures/models/vehicles/car/carWindowR.tga
rgbGen vertex
blendFunc blend
}
}
Bye
// Rusted Civilian Car
carrusted
{
cull none
qer_editorimage textures/models/VEHICLES/car/carrusted.tga
{
map textures/models/VEHICLES/car/carrusted.tga
rgbGen lightingSpherical
}
}
// Static Rusted Civilian Car
static_carrusted
{
cull none
qer_editorimage textures/models/VEHICLES/car/carrusted.tga
{
map textures/models/VEHICLES/car/carrusted.tga
rgbGen vertex
}
}
// Rusted Civilian Car Window
carwindowR
{
qer_editorimage textures/models/vehicles/car/carWindowR.tga
cull none
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
alphaGen const 0.05
blendFunc blend
}
{
map textures/models/vehicles/car/carWindowR.tga
rgbGen lightingSpherical
blendFunc blend
}
}
// Static Rusted Civilian Car Window
static_carwindowR
{
qer_editorimage textures/models/vehicles/car/carWindowR.tga
cull none
{
map textures/common/reflection1.tga
rgbGen vertex
tcgen environmentmodel
alphaGen const 0.05
blendFunc blend
}
{
map textures/models/vehicles/car/carWindowR.tga
rgbGen vertex
blendFunc blend
}
}
