3rd Party Models/Media Chat / Index of water colors

Author
Message
Defy
16
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 16th Jan 2014 00:19 Edited at: 16th Jan 2014 00:25
This may have been mentioned else where. Also check link out for a good read on water by Spudnick.

http://fpscrforum.thegamecreators.com/?m=forum_view&t=207299&b=8



*Please make a back up first, if you are planning on testing out some different colors with the water. And only proceed if you are fine with editing text files.






1. Finding the file path

*C:\Programs,The Game Creators,FPS Creator Reloaded,Files, Effect Bank, Reloaded

= water_basic.fx



2. Make a folder on desktop (or other place), right click on 'water_basic.fx', copy file and paste in new folder (a backup for future reference) Keep this aside, do not edit this file.



3. Back to original file in reloaded folder. Open file : water_basic.fx in notepad (drag the file into notepad works best, having notepad on desktop can be a good idea)



4. Find line (highlighted below)



//-----------------

// tweaks

//-----------------

float2 WaterScale = { 10.0f , 10.0f};

float WaterBump = 4.02f;

float FresnelBias = 0.1f;

float FresnelScale = 5.0f;//7.5f;

float2 Speed1 = { -0.015, 0.0 };

float2 Speed2 = { 0.014, -0.014 };

float2 Speed3 = { -0.007, 0.007 }
;

float4 WaterTint = { 0.7f, 0.7f, 0.7f, 1.0f };



And adjust as you see fit, hit save and run a test game.

Below is a color chart provided, however not sure on all colors working etc as I have not tested all and or if anything looks ok or not. Some colors would depend on scene and location of maps.



(1.0f, 0.0f, 0.0f, 1.0f), // red

(0.0f, 1.0f, 0.0f, 1.0f), // green

(0.0f, 0.0f, 1.0f, 1.0f), // blue

(0.3f, 1.0f, 0.3f, 1.0f), // light green

(0.3f, 0.3f, 1.0f, 1.0f), // light blue

(1.0f, 0.3f, 0.3f, 1.0f), // light red

(1.0f, 0.0f, 1.0f, 1.0f), // pink

(1.0f, 0.6f, 0.0f, 1.0f), // orange

(0.6f, 0.3f, 0.0f, 1.0f), // dark orange

(1.0f, 1.0f, 0.0f, 1.0f), // yellow

(0.3f, 0.3f, 0.3f, 1.0f), // dark gray

(0.8f, 0.8f, 0.8f, 1.0f), // light gray

(0.0f, 00.f, 0.0f, 1.0f), // black

(1.0f, 1.0f, 1.0f, 1.0f), // white

(0.6f, 0.0f, 1.0f, 1.0f) // violet



If by any chance someone deletes their original file and or needs to revert back to original settings.

float4 WaterTint = { 0.7f, 0.7f, 0.7f, 1.0f };



Enjoy

PM
Emrys
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 16th Jan 2014 07:33
Many thanks !



I was looking for way to do this, thanks



PM

Login to post a reply

Server time is: 2024-04-20 12:22:42
Your offset time is: 2024-04-20 12:22:42