
After building cubemaps I have a cylinder piece of glass (func_detail)that is reacting to the green( I change render mode, color) plant light (npc) after building cubemaps.
Any ideas which might be the real problem?
That's what I was going to suggest... if that doesn't work I'm not sure what else you could do...skidz wrote:Could make a env_cubemap somewhat offset from the glass and assign the faces to it.
Code: Select all
"LightmappedGeneric"
{
"$basetexture" "maps/stadium/stadiumglass"
"$surfaceprop" "glass"
"$additive" "1"
}
Code: Select all
"LightmappedGeneric"
{
// Original shader: WorldAdditiveTransEnvMapWithMaskedTexture
"$basetexture" "Glass/glasswindow070c"
"$envmap" "env_cubemap"
"$surfaceprop" "glass"
"%keywords" "c17industrial"
"$envmapmask" "glass/glasswindow070c_mask"
"$envmaptint" "[.3 .5 .6]"
"$additive" "1"
// "$translucent" 1
}