Kart Racing Pro Official Forum

Mods => Track Editing => Topic started by: malny on May 02, 2013, 06:21:42 PM

Title: Shadows
Post by: malny on May 02, 2013, 06:21:42 PM
What is missing in the track to get the shade of the starting lights?
with puddles, shadow and reflections receives no problems ...

my track uses only a specular map in the alpha channel (SHD)
no bump map.

thanks
Title: Re: Shadows
Post by: PiBoSo on May 02, 2013, 10:30:48 PM
Quote from: malny on May 02, 2013, 06:21:42 PM
What is missing in the track to get the shade of the starting lights?
with puddles, shadow and reflections receives no problems ...

my track uses only a specular map in the alpha channel (SHD)
no bump map.

thanks

Please make sure that there is no alpha channel in the diffuse map.
The specular map must be in a separate texture.

P.S.
3d-shaped kerbs should work correctly in Beta9. The tire radial damping was too high.
Title: Re: Shadows
Post by: malny on May 03, 2013, 09:42:04 AM
Quote from: PiBoSo on May 02, 2013, 10:30:48 PM

P.S.
3d-shaped kerbs should work correctly in Beta9. The tire radial damping was too high.

fantastic news ... ;D I have not yet designed for just that.  ;)
I know that you solve the problem after seeing your kebs of zuera

Now I check my texture
Title: Re: Shadows
Post by: LauZzZn on May 03, 2013, 11:04:41 AM
thats nice so for beta 9 ill make 3d kerbs on sarno ;)
Title: Re: Shadows
Post by: nmpcs on May 03, 2013, 12:47:57 PM
great news :)
Title: Re: Shadows
Post by: malny on May 03, 2013, 03:47:07 PM
I had an alpha channel in the texture, but that did not solve the problem ...
I noticed that, if I go back to the file .SHD with bumb I see the shadow on the track ..
but I want to use only specular map ... I do not like bumb on the asphalt, too distorts the texture

I probably did not understand how it must be on file:

specular
{
map = xxx.tga
shininess = 6
}

my xxx.tga is mounted so:
RBG = all white
alpha = specular map of my asphalt

everything else works. reflections, rubber, etc.

not even see the shadow of the kart
Title: Re: Shadows
Post by: PiBoSo on May 03, 2013, 04:45:48 PM
Quote from: malny on May 03, 2013, 03:47:07 PM
I had an alpha channel in the texture, but that did not solve the problem ...
I noticed that, if I go back to the file .SHD with bumb I see the shadow on the track ..
but I want to use only specular map ... I do not like bumb on the asphalt, too distorts the texture

I probably did not understand how it must be on file:

specular
{
map = xxx.tga
shininess = 6
}

my xxx.tga is mounted so:
RBG = all white
alpha = specular map of my asphalt

everything else works. reflections, rubber, etc.

not even see the shadow of the kart

If you have a shader with specular map only then shadows are not supported.
Maybe you can add a flat normal map, with the specular map in the alpha channel.