• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 
March 28, 2024, 03:21:16 PM

News:

Kart Racing Pro release13e available! :)


DIRT areas, how to do them

Started by Aritz, February 19, 2013, 01:23:52 PM

Previous topic - Next topic

Aritz

February 19, 2013, 01:23:52 PM Last Edit: February 26, 2013, 10:31:36 AM by Aritz
This way is also useful for any kind of area on grass, asphalt or whatever:

















The last step and very important is to create a fake (or not fake) BUMP texture, named for example "grass_bump.tga". It can be like this, a blue texture with black Alpha Channel. It won't change the grass at all in dry but it will when rains, looking darker and realistic.

Create as well the shader file, let's say "grass.shd" with this code on it:


bump
{
map = grass_bump.tga
}



EVO

fantastic work! great clear images too. whats next?  skid marks,  maybe track true puddles?
To download all my dashes, airboxes, tracks, and more
click here or see my personal website

LauZzZn

i had an idea today for how to make skids very easy i try it later and when it works i will show you how to do it ;)
Retired, studied 3D Artist
Professional racing driver
2021 ELMS Champion LMP3
2022 3rd 24h Le Mans LMP2
Teammanager of Dutt Motorsport

Aritz

Yes, there is a problem with that...  :(

But I think it is a bug, because Piboso's guide is clear:

For tyre marks, a second texture can be defined using Opacity channel and a secondary UV mapping. Textures with alpha channel will be drawn with alpha blending, while ones without alpha channel will be drawn with multiply blending

So we are allowed to use alpha channel, but if it is used, the part is not darkened when rains... In the first betas, there was a way to darken manually the textures using a file, but it is not used anymore.

We should ask him for a better idea or a fix

EVO

if you are willing to sacrifice some texture quality you can use one channel and make a custom texture with both grass and dirt then use the UVW map manipulation and gizmo drop down  (+ symbol next uvw map modifier) to rotate the texture to fit perfect. 
To download all my dashes, airboxes, tracks, and more
click here or see my personal website

Aritz

February 26, 2013, 10:22:50 AM #5 Last Edit: February 26, 2013, 10:32:09 AM by Aritz
There is no need for that :)

If you use bump map for the grass, the texture is darkened when rains. There is no need for a real bump texture, it can be a fake one, all blue. But it is better to use a good one, which makes the grass look a lot better

UPDATED TUTORIAL WITH THIS STEP

LauZzZn

could you please give me that texture you made there?
Retired, studied 3D Artist
Professional racing driver
2021 ELMS Champion LMP3
2022 3rd 24h Le Mans LMP2
Teammanager of Dutt Motorsport


LauZzZn

Retired, studied 3D Artist
Professional racing driver
2021 ELMS Champion LMP3
2022 3rd 24h Le Mans LMP2
Teammanager of Dutt Motorsport