Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Not exported displacement texture of 3d model with Easy Ogre Exporter 1,6(3ds max 2012 x64)
in "*.material" file its not written
material "terrain_grass00"
{
technique terrain_grass00_technique
{
pass terrain_grass00_standard
{
ambient 1 1 1 1
diffuse 1 1 1 1
specular 1 1 1 0 25.5
emissive 0 0 0 1
texture_unit terrain_grass00_Diffuse#0
{
texture xshaders/bitmap/grass00.jpg
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_grass00_Specular#1
{
texture xshaders/bitmap/grass00_SPEC.jpg
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_grass00_Self-Illumination#2
{
texture xshaders/bitmap/grass00_OCC.jpg
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_grass00_Normal#3
{
texture xshaders/bitmap/grass00_NRM.jpg
tex_coord_set 0
colour_op modulate
}
}
}
}
material "terrain_tree00"
{
technique terrain_tree00_technique
{
pass terrain_tree00_standard
{
cull_hardware none
cull_software none
ambient 1 1 1 1
diffuse 1 1 1 1
specular 1 1 1 0 25.5
emissive 0 0 0 1
scene_blend alpha_blend
depth_write off
texture_unit terrain_tree00_Diffuse#0
{
texture xshaders/bitmap/tree00.png
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_tree00_Specular#1
{
texture xshaders/bitmap/tree00_SPEC.jpg
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_tree00_Self-Illumination#2
{
texture xshaders/bitmap/tree00_OCC.jpg
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_tree00_Unknown#3
{
texture xshaders/bitmap/tree00.png
tex_coord_set 0
colour_op modulate
}
texture_unit terrain_tree00_Normal#4
{
texture xshaders/bitmap/tree00_NRM.jpg
tex_coord_set 0
colour_op modulate
}
}
}
}
How to correctly set the settings to export the correct material?
Last edited by el_motoblock (25-May-2014 16:26:23)
Offline
the exporter do not manage mental ray materials
You should create a standard material
and let the exporter generating shaders (in export options)
it manage normal map but not "bump" / "displacement" textures
Offline
thanks
Offline