thanks for your reply, it do help.
somehow I try again and my material it work now with transparency + reflection
not sure why last time it is not working... -_-"
in my material code, this section play out the transparency value
------------------------------------------------------------------------------------
scene_blend alpha_blend
depth_write off
texture_unit
{
texture glassWindows.jpg
//<----------------------------- this for apply texture image and the
texture " glassWindows.jpg" is in the same directory
tex_coord_set 0
colour_op modulate
alpha_op_ex source1 src_manual
src_current 0.5//<-------------------- 0.5 value is the transparent
value 0 to 1
}
texture_unit
{
texture wheel_barrow.jpg //<
---------------------------- this texture image will be a reflection
image (in my case it is reflect from the windows)
colour_op_ex add src_texture
src_current //<--------- this line .... I'm not sure, I just saw it
from ogre forum and use it
colour_op_multipass_fallback one one
//<--------- this line .... I'm not sure, I just saw it from ogre
forum and use it
env_map planar
//<-------------------------------------- this line .... tell the
environment map to act as a planar (their have a several choice of it)
}
cull_hardware none
//<-------------------------------------------- this two line make the
material can see from both side
cull_software none
//<-------------------------------------------- this two line make the
material can see from both side
--------------------------------------------------------------------------------------
so far I can make the whole object transparent,
still try to experiment with alpha channel. (with gradient)... not working yet.
^_^
Thanks
Chatpakorn
--
http://groups.google.com/group/realxtend
http://www.realxtend.org