Jump to content
Sign in to follow this  
gbarma3

Getting rid of shore foam

Recommended Posts

Hello everyone I hope this is the right section to post :)

 

I am creating a "Lowlands" terrain rich in canals and ditches and I need to disable water shore foam (I managed to lower and slow down water waves);

 

Here I loaded 3 pics of how water looks like right now: http://imgur.com/a/pu6R0     img. 2 & 3 show another problem I am also having: shore foam "wraps" over the ground which is just slightly above sea level, but if I can get rid of the foam texture this wouldn't be too much of a problem.

 

I tried many different tweaks on the config, I also tried to change the shaders to "Watersimple" following this source:  https://community.bistudio.com/wiki/ArmA:_RVMAT  but I didn't succeed (also, a black texture appeared in its place at a point).

 

I am sure this is a simple task, I just don't know where to tweak :P  I hope someone can help me :)

 

Thanks for reading and for any help :)

 

Gbco.

Share this post


Link to post
Share on other sites

Not sure if this will get you the answer you are looking for but have a look at the following page for pixel shaders and vertex shaders

Perhaps you can change the shader setting to watersimple instead of water  (ie sea water)

 

https://community.bistudio.com/wiki/ArmA:_RVMAT#Shader_specific_setting

  • Like 1

Share this post


Link to post
Share on other sites

Also have a look at config.cpp at these settings

 

class Sea
  {
   seaTexture = "a3\data_f\seatexture_co.paa";
   seaMaterial = "#water";
   shoreMaterial = "#shore";
   shoreFoamMaterial = "#shorefoam";
   shoreWetMaterial = "#shorewet";

Share this post


Link to post
Share on other sites

Hey man! thanks very much for replying.

 

Actually the first link you sent me is the one I wanted to post in my comment but failed - I have no idea how my link sends to a broken page :P

 

Anyways, that's exactly the thing I am trying to understand atm.  I think I tried the option "water simple" but I am not sure if I applied it to the foam ot to the shore (it turned black at a point); i will give it a go again tx.

 

I have found this precious piece of code in the deep Google:  ftp://sonsofexiled.fr/ArmA2/Arma%20Licensed%20Data%20Pack/A2SM_Data_APL/RootCfg/CfgMaterials.hpp with clear explanations of what does what :)

 

for example here:


class Stage2
{
// special texture expected
texture="CA\data\data\sea_foam_lco.paa";
uvSource="none";
};

I have to found a way to make it invisible or something like that I think; or maybe switch from foam texture to a transparent color?  I have no idea atm  :)

 

Thanks again!

 

 

edit:  also this might turn helpfull I think:  http://tactical.nekromantix.com/forum/viewtopic.php?t=21221

Share this post


Link to post
Share on other sites

Actually the first link you sent me is the one I wanted to post in my comment but failed - I have no idea how my link sends to a broken page :P

 

I can't help with your foam problem but I do know why your link is broken, it has a ) at the end, if you remove that it works fine :)

  • Like 1

Share this post


Link to post
Share on other sites

I can't help with your foam problem but I do know why your link is broken, it has a ) at the end, if you remove that it works fine :)

lol you are right, thank you I am going to edit :)

Share this post


Link to post
Share on other sites

remove the grass around the edges of the embankment and replace with sand, the foam wont be as visable

  • Like 1

Share this post


Link to post
Share on other sites

Thanks man for the suggestion,

 

I have a few banks with sand but it is still visible, if I understand what you mean: http://imgur.com/a8N4P86  (on the left part of the image it's sand)

 

The main problem though is that water foam covers surfaces that are slightly above water level, so I have to keep a minimum step between water and land :/  (see pictures above).

 

In the past days I managed to disable the foam but not to make it "null", it kept appearing as a shader with reflection and hue over the ground texture anyway :unsure:  

 

Tx again

 

p.s. Congrats on your Australian island dude!

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×