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":

(http://img860.imageshack.us/img860/7333/puddles1.jpg)

Now we have to create the ALPHA channel:

(http://img202.imageshack.us/img202/7863/puddles2.jpg)
(http://img51.imageshack.us/img51/1448/puddles3.jpg)

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 :)

(http://img850.imageshack.us/img850/8067/puddles4.jpg)

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:

(http://img402.imageshack.us/img402/9808/puddles4b.jpg)

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:


(http://img864.imageshack.us/img864/9964/puddles5.jpg)
(http://img27.imageshack.us/img27/7908/puddles6.jpg)

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 :)

(http://img834.imageshack.us/img834/879/puddles6b.jpg)

Save as TGA

(http://img839.imageshack.us/img839/6889/puddles7.jpg)
(http://img854.imageshack.us/img854/6285/puddles8.jpg)

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)


(http://img6.imageshack.us/img6/5568/35563924.jpg)

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

(http://img840.imageshack.us/img840/8471/27614844.jpg)
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/thumb/unbenannt-2w1b8c.jpg) (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