Any ideas on this one folks? I have struggled with it all day and cannot get it to work. The windows need to be $translucent in order to look windowy, $alphatest won't do and $alpha doesn't seem to do anything. The windows are a separate mesh from the bus and there aren't any sorting issues. Taking $translucent out of the .vmt makes it stop.
QC:
- Code: Select all
$modelname custom_models/bus_opentop/bus_opentop_glass
$cdmaterials models/custom_models/bus_opentop
$body bus_opentop_glass glass_ref
$mostlyopaque // have tried with/without, no difference
$staticprop
$sequence idle glass_ref
$surfaceprop glass
$collisionmodel glass_phy
{
$concave
}
$lod 200
{
replacematerial bus_opentop_glass bus_opentop_glass_low
}
VMT:
- Code: Select all
vertexlitgeneric
{
$basetexture models/custom_models/bus_opentop/bus_opentop_glass
// $nocull 1
// $model 1
$translucent 1
// $envmap env_cubemap
// $envmapmask models/custom_models/bus_opentop/bus_opentop_glass_spec
// $envmaptint "[.7 .7 .7]"
}
Whoever solves it gets a free model! (something simple please)





