Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Questions upon shaders

Author
Message
L3mmy
17
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 19th Jul 2012 22:48 Edited at: 19th Jul 2012 22:51
Hey, Basically, I want to create a Car Paint shader, using fresnel water shader, How would I go about applying it to the body of the car with a colour like red or blue (Car base colour)

Thanks - Tom

P.s The parts of the car model will probably be called body. so as not to get the wheels and interior etc

www.monsterwareltd.co.uk <--Visit today

Software, Games, Themes, Hosting, Wallpapers and more to come!
L3mmy
17
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 21st Jul 2012 19:22
Bump - Nobody?

www.monsterwareltd.co.uk <--Visit today

Software, Games, Themes, Hosting, Wallpapers and more to come!
david w
20
Years of Service
User Offline
Joined: 18th Dec 2005
Location: U.S.A. Michigan
Posted: 21st Jul 2012 20:01
Why would you want to use a water shader to apply paint to a car? I can only assume that you want a "glossy" look with a slight refelction off the paint?
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 21st Jul 2012 21:01
Use set sphere mapping on.

L3mmy
17
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 21st Jul 2012 21:02
yeh mate..Looked on google and most people say fresnel is the best way...and thats in evolved's water shader?..need to kinda try and extract the bit I want and apply it to the car body

www.monsterwareltd.co.uk <--Visit today

Software, Games, Themes, Hosting, Wallpapers and more to come!
mr Handy
18
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 21st Jul 2012 21:17
Fresnel is good.
You can't just apply it because water is a plain and car is not. They use different reflection techinques. Try to cut out all reflection and refraction textures at first. Then you need to replace texture values with desired colors in "lerp" line.

«Socks are sexy. You should wear them!» — Bronies

Login to post a reply

Server time is: 2026-07-07 12:28:14
Your offset time is: 2026-07-07 12:28:14