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.
// smokefxmat genrated by blender2ogre 0.6.0
material smokefxmat
{
receive_shadows on
technique
{
pass smokefxmat
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0
alpha_to_coverage off
colour_write on
cull_hardware clockwise
depth_check on
depth_func less_equal
depth_write on
illumination_stage
light_clip_planes off
light_scissor off
lighting on
normalise_normals off
polygon_mode solid
scene_blend alpha_blend
scene_blend_op add
shading gouraud
transparent_sorting force
texture_unit
{
texture AndroidGame/smoke000.png
tex_address_mode wrap
scale 1.0 1.0
colour_op modulate
}
}
}
}
with alpha_rejection greater_equal 128 it looks rough and with illuminated outline texture
like this
exported with modified by me(transparent_sorting force at default) blender2ogre
Last edited by el_motoblock (3-Aug-2015 12:37:09)
Offline
hmm try
material smokefxmat
{
receive_shadows on
technique
{
pass smokefxmat
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0
alpha_to_coverage off
cull_hardware none
depth_check on
depth_write off
scene_blend alpha_blend
scene_blend_op add
transparent_sorting force
texture_unit
{
texture AndroidGame/smoke000.png
tex_address_mode wrap
scale 1.0 1.0
colour_op modulate
}
}
}
}
Offline
thanks is correct show alpha
Offline
and how can we do?
here made of two models-planes, shines through the. (at smoke effect it seems good) and how can we do?
// t6matTTTTTTT234 genrated by blender2ogre 0.6.0
material t6matTTTTTTT234
{
receive_shadows on
technique
{
pass t6matTTTTTTT234
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0
alpha_to_coverage off
cull_hardware none
depth_check on
depth_write off
scene_blend alpha_blend
scene_blend_op add
transparent_sorting force
texture_unit
{
texture AndroidGame/tree06.png
tex_address_mode wrap
scale 1.0 1.0
colour_op alpha_blend
}
}
}
}
Last edited by el_motoblock (1-May-2016 13:31:41)
Offline
make good but not ideal
(do not really like alpha_rejection - smooth not enough)
// t6matTTTTTTT234 genrated by blender2ogre 0.6.0
material t6matTTTTTTT234
{
receive_shadows on
technique
{
pass t6matTTTTTTT234
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0
alpha_to_coverage on
//cull_hardware none
//depth_check off
//depth_write off
scene_blend alpha_blend
transparent_sorting force
light_scissor on
alpha_rejection greater_equal 128
texture_unit
{
texture AndroidGame/tree06.png
tex_address_mode wrap
scale 1.0 1.0
colour_op alpha_blend
}
}
}
}
Offline
I also made the texture of low quality made.
Offline
ok, I've already decided
Offline