Is the common/adjustable_color texture... I don't know... ADJUSTABLE by any chance?
If so: what about it is adjustable and how do I adjust it?
common/adjustable_color texture
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
shader
Well, I don't know how it works then, but here is the shader for it.
Maybe it has to be a script_object or some other entity targetnamed "whiteimage".
Code: Select all
textures/common/adjustable_color
{
qer_editorimage textures/common/white.tga
surfaceparm nolightmap
{
map $whiteimage
blendFunc GL_DST_COLOR GL_ZERO
rgbGen fromEntity
}
}
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
I think it means the texture uses the entity lighting grid.Ritualistic wrote: 5.12.2 rgbGen entity
Colors are grabbed from the entity’s modulate field. This is used for things like explosions.
I couldn't find 'fromEntity'
http://www.ritualistic.com/games/fakk2/tooldocs.php3
In shaders a $ is not a targetname operator: $whiteimage is just a white texture. You could also use $lightmap instead.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:


