I’m trying to use ‘q3map_baseshader’ in material shaders for ASE models. The idea is to have one ‘clipping’ baseshader and one ‘nonclipping’ baseshader.
The baseshader:
textures/baseshader/noclip
{
q3map_splotchfix
q3map_nonplanar
q3map_forcemeta
}
textures/baseshader/clip
{
q3map_baseShader textures/baseshader/noclip
q3map_clipModel
}
but if i try to use these baseshaders in a shader which is in another file they don’t work. They only work if i put these baseshaders in the same file.
The shader using above baseshader (which is in another file):
textures/_test/material_0
{
q3map_baseshader textures/baseshader/clip
cull none
{
map textures/_test/material_0.tga
blendFunc GL_ONE GL_ZERO
rgbGen identity
}
{
map $lightmap
blendFunc filter
rgbGen identity
}
}
So, my question is… can you only use q3map_baseshader within one file, or am i just doing something wrong?
