Hello! I Need help. My first conversion to Racer 090, I need make correct reflection on the glasses and wheels
http://yadi.sk/d/fQEBGHuY3j9Hw
http://yadi.sk/d/fQEBGHuY3j9Hw
Thank you. what am I doing wrong?Reference a car like the Gallardo which I just updated, which might give you some clues to good texture and shader values.
Dave
vf_glass
{
cast_shadow=0
vertex_shader
{
file=dyn_standard_reflect_window_v.cg
}
fragment_shader
{
file=dyn_standard_reflect_transparency_window_f.cg
;file=dyn_standard_reflect_window_f.cg
}
}
shader_windows~vf_glass
{
sort_offset=2
reflect=1
shininess=16
specular=0 0 0 0
fresnel
{
bias=0.04
scale=0.96
power=4.5
}
layer0
{
map=windows.tga
blendfunc=one src_alpha
}
layer1
{
map=$trackenvmap
}
}
vidros
vf_reflect
{
vertex_shader
{
file=dyn_standard_reflect_v.cg
;file=dyn_standard_reflect_v.cg
}
fragment_shader
{
file=dyn_standard_reflect_f.cg
;file=dyn_standard_reflect_f.cg
}
}
shader_vidros~vf_reflect
{
cull=none
sort_offset=1
reflect=0.4
diffuse=1.0 1.0 1.0
ambient=1.0 1.0 1.0
cast_shadow=1
layer0
{
map=windows.tga
shininess=20
blendfunc=blend
specular=0.0 0.0 0.0 1.0
depthwrite=0
}
layer1
{
map=$trackenvmap
depthwrite=0
}
}