davesh
10-11-2006 18:16:20
I've got the production version of ofusion. I'm trying to create a material in max that looks like the following once exported through ofusion:
Currently I cant figure out which material settings in max result in env_map spherical within the texture unit.
I tried setting the texture_unit to be a Bitmap. I then clicked on the Environ toggle and then setting Mapping: to be Spherical Environment. But this seems to have no effect.
The closest I've gotten so far is the following material:
How do I need to configure the material in max so that ofusion exports the texture_unit with the following option?
material glassy
{
technique
{
pass
{
lighting off
scene_blend add
depth_write off
texture_unit
{
texture glassy.png
env_map spherical
}
}
}
}
Currently I cant figure out which material settings in max result in env_map spherical within the texture unit.
I tried setting the texture_unit to be a Bitmap. I then clicked on the Environ toggle and then setting Mapping: to be Spherical Environment. But this seems to have no effect.
The closest I've gotten so far is the following material:
material glass2
{
technique
{
pass
{
ambient 0.7 0.7 0.7 1
diffuse 0.7 0.7 0.7 1
specular 0.9 0.9 0.9 1 20
scene_blend add
alpha_rejection greater 128
texture_unit
{
texture_alias 0
texture glassy.png
}
}
}
}
How do I need to configure the material in max so that ofusion exports the texture_unit with the following option?
env_map spherical