Jump to content

How Can I Set Intensity Property...


Guest Red Ocktober
 Share

Recommended Posts

Guest Red Ocktober

... of Shadmar's ocean object (c++ or blitzmax)...

 

I must be having a mind block or something... i'm sure i've done this before...

 

I'm having trouble getting the water colors to correspond with those seen in the editor (in version 243)... the water color looks greyscale instead of blue... i think modifying the intensity property will fix it...

 

no problems in 250 though... hmmmm...

 

anyways,

 

thx in advance...

 

--Mike

Link to comment
Share on other sites

Intensity is just a fake setting which only multiplies the actual colors, so if you have colors of 240 or higher and then use a intensity of higher than 1, it will only overburn the colors making them all gray and white. There is never a need for anything else than intensity 1.0, because you can adjust the colors yourself much more elegantly.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

You can always hack the shader ...In the oceans frag find :

 

vec4 color = ....

 

add below

 

color*=vec4(R,G,B,1);

 

Where you replace the RGB using float values in ranges 0..1 normally, but try 1,1,2 for extra blue, or 2,2,2 for twice intensity, but as Meta says they will probably look abit burned if set too high.

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...