Kart Racing Pro Official Forum

Mods => Track Editing => Topic started by: Aritz on June 30, 2011, 06:57:49 PM

Title: Puddles how to do them
Post by: Aritz on June 30, 2011, 06:57:49 PM
You will need Photoshop and 3dmax. Sorry for large images, they are needed for easy reading  :P

Follow the steps:

Open photoshop and "open file":



Now we have to create the ALPHA channel:




Now we can start doing the rain effect. The first step is to change from 100% black to something less black, that is the trick for better wet looking. All the tarmac will reflect the light, some parts are like a mirrow and some others are bright but no reflecting almost, like the real wet tarmac is :)



In some versions, it looks like the fill feature is hidden. You can do it from "EDIT" then "FILL". Don't forget to use low values:



There are a lot of ways to do the puddles. This is the easiest :D If you use different kind of brushes, you can create really good puddles, with different types of them (like the real puddles are)
You can play with those values: The more opacity, the more mirrow effect. The less flow value, the more clear edge of the puddle. I don't like to have clear edges, the puddles don't look realistic:





This is the Magescq track puddle file, I did it fast and with for testing intention and at the end, I kept the same file :)



Save as TGA




Title: Re: Puddles how to do them
Post by: Aritz on June 30, 2011, 07:38:32 PM
Second part 3dMax (thanks to Schwoni)

First you have to select all the track parts which you want to add the puddles: Tracks, pits, parking... The kerbs can be added too, but usually they have other type of puddle, just in the joint of the track and the kerb because of the V form of the kerb.

You can play with the UW parameters (width and lenght) if you want big or small puddles (it depends on your puddle.tga file)




Open map editor (M) and don't forget to use the second map channel ;)

Title: Re: Puddles how to do them
Post by: EVO on June 30, 2011, 07:44:57 PM
cool i want to see the final product cant wait
Title: Re: Puddles how to do them
Post by: franmedo on February 08, 2012, 06:32:57 PM
Hey i have a question

(http://www.abload.de/image.php?img=unbenannt-2w1b8c.jpg)

On the left you can see the in max the material map channel 2 on glosiness of trkasph material and the alpha channel of the texture. But on the right you can see how it looks ingame! It only looks on the road so bad, on kerbs for example it looks perfect!  Please help me :(

Title: Re: Puddles how to do them
Post by: Cloudheaven on February 08, 2012, 08:29:38 PM
Thanks for this tutorial!
Title: Re: Puddles how to do them
Post by: EVO on February 08, 2012, 09:51:22 PM
franmedo you have to plat with the tiling in the UVW map modifer settings i use 20 x 20 and greater
It also depends on the mesh so you may need alot more or alot less.
Title: Re: Puddles how to do them
Post by: franmedo on February 09, 2012, 09:14:13 AM
I FOUND THE PROBLEM! but i dont know how to fix it:P
I have tire skids on opacity and puddles on glossiness. When i delete the opacity skids it works fine ingame! Piboso please help, you tracks also have puddles and tire skids :/
Title: Re: Puddles how to do them
Post by: Snappe on February 09, 2012, 06:20:58 PM
Can you try making the RGB channel of the puddles blank white, and make sure that the skids texture doesn't have an alpha channel
Title: Re: Puddles how to do them
Post by: franmedo on February 09, 2012, 06:25:56 PM
Skids without alpha channel? But then its just black? How do you mean?

edit: YES it works, thanks a lot, pretty tricky stuff!
Title: Re: Puddles how to do them
Post by: Snappe on February 09, 2012, 07:57:53 PM
I mean put the skids texture in the RGB channel and delete the alpha. So it worked?
Title: Re: Puddles how to do them
Post by: franmedo on February 09, 2012, 08:04:51 PM
yes 8) thx alot