Dynamic cubemaps
by Krzysztof Szaton · in Technical Issues · 09/23/2008 (10:01 am) · 0 replies
Hello.
I searched forums but i haven't found good answer. How can I turn on dynamic cubemaps? Static cubemaps works fine(they look great on windows). My model is car.dts This is how I try turn it on:
materials.cs
new Material(carpaint)
{
mapTo = "carpaint";
dynamicCubemap = true;
baseTex[0] = "carpaint";
translucent[0] = false;
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 0.2";
specularPower[0] = 16.0;
};
car.cs(in model directory)
datablock TSShapeConstructor(Maluchdts)
{
baseShape = "./maluch.dts";
dynamicCubemap=true;
};
I see only base texture in game. Thank You for all advices(or step-by-step tutorial;)) !
I searched forums but i haven't found good answer. How can I turn on dynamic cubemaps? Static cubemaps works fine(they look great on windows). My model is car.dts This is how I try turn it on:
materials.cs
new Material(carpaint)
{
mapTo = "carpaint";
dynamicCubemap = true;
baseTex[0] = "carpaint";
translucent[0] = false;
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 0.2";
specularPower[0] = 16.0;
};
car.cs(in model directory)
datablock TSShapeConstructor(Maluchdts)
{
baseShape = "./maluch.dts";
dynamicCubemap=true;
};
I see only base texture in game. Thank You for all advices(or step-by-step tutorial;)) !