Problem with Water Fog
Quote from User on September 29, 2013, 3:17 pmHey guys,
Im making a custom Water material, works fine but i the line between Water and the grass (in this case) just looks bad. I tried several Fog and waterblendfactor variables, but it just looks bad:
I saw that picture of Damagepys (not actual) map:
How do i get a smoothly fade between land and water? or should i use another variable for that?
Hey guys,
Im making a custom Water material, works fine but i the line between Water and the grass (in this case) just looks bad. I tried several Fog and waterblendfactor variables, but it just looks bad:
I saw that picture of Damagepys (not actual) map:
How do i get a smoothly fade between land and water? or should i use another variable for that?
Quote from Skotty on September 29, 2013, 6:42 pmOf course you need to set your graphics settings to maximum.
Second is: He used displacements there. Probably they'll provide a more smooth look since they have irregular shapes and so you can't see a clear and perfect line.
Of course you need to set your graphics settings to maximum.
Second is: He used displacements there. Probably they'll provide a more smooth look since they have irregular shapes and so you can't see a clear and perfect line.

Quote from josepezdj on September 30, 2013, 3:29 amTheTobbell, first of all, post your water material so we can check what kind of water are you creating... From both pictures, I think that your water is more a reflecting water material while Damagepy's is a refracting one. This effect can be achieved by this parameter:
"$refracttexture" "_rt_WaterRefraction"
You can still keep this parameter as well:
"$reflecttexture" "_rt_WaterReflection"
And you can modulate and play with refraction with these other parameters:
"$refractamount" "0.75" (the refraction amount)
"$refracttint" "[.6 .58 .55]" (the colour that the refraction will have)(Change the values to your liking...)
I bet your approach is to use the parameter $pseudotranslucent 1 altogether with the $waterblendfactor. I think that if you use refracting water material instead, you won't need those
TheTobbell, first of all, post your water material so we can check what kind of water are you creating... From both pictures, I think that your water is more a reflecting water material while Damagepy's is a refracting one. This effect can be achieved by this parameter:
"$refracttexture" "_rt_WaterRefraction"
You can still keep this parameter as well:
"$reflecttexture" "_rt_WaterReflection"
And you can modulate and play with refraction with these other parameters:
"$refractamount" "0.75" (the refraction amount)
"$refracttint" "[.6 .58 .55]" (the colour that the refraction will have)
(Change the values to your liking...)
I bet your approach is to use the parameter $pseudotranslucent 1 altogether with the $waterblendfactor. I think that if you use refracting water material instead, you won't need those
Quote from User on September 30, 2013, 8:20 amSkotty wrote:Of course you need to set your graphics settings to maximum.
Second is: He used displacements there. Probably they'll provide a more smooth look since they have irregular shapes and so you can't see a clear and perfect line.My settings are at maximum :s
But that with the displacements sounds good ^^josepezdj wrote:InfoHm, okay i will try that with refracting ^^
Second is: He used displacements there. Probably they'll provide a more smooth look since they have irregular shapes and so you can't see a clear and perfect line.
My settings are at maximum :s
But that with the displacements sounds good ^^
Hm, okay i will try that with refracting ^^
Quote from User on October 1, 2013, 2:55 pmoohhkkaayyy, i used refract instead of reflect, now i have this water: >.<
Heres the code now of this "bloody" water:
Code
[spoiler][/spoiler]
And my console is "Now" spaming: "No such variable "$fogenable" for material "tt/tt_water"
T"
oohhkkaayyy, i used refract instead of reflect, now i have this water: >.<
Heres the code now of this "bloody" water:
Code

And my console is "Now" spaming: "No such variable "$fogenable" for material "tt/tt_water"
T"

Quote from josepezdj on October 2, 2013, 3:04 amHmmm... have you got any warning message when compiling?
Also, can you post your beneath/bottom material as well? [spoiler]and you could post an actual code instead of an image >.< Are you afraid that anyone can steal it? if so, send me a pm, if you feel you can trust me
[/spoiler]
Hmmm... have you got any warning message when compiling?
Also, can you post your beneath/bottom material as well?

Quote from User on October 2, 2013, 7:59 amjosepezdj wrote:Hmmm... have you got any warning message when compiling?No :s
josepezdj wrote:Also, can you post your beneath/bottom material as well?I have the standard toxicslime_002_beneath, i work with that when i finished the abovewater, ^^
josepezdj wrote:[spoiler]send me a pm, if you feel you can trust me[/spoiler]
I did now ^^
EDIT: Now finally got it work together with jose, if someone has the same problem, ask Josepezdj or me, ^^
No :s
I have the standard toxicslime_002_beneath, i work with that when i finished the abovewater, ^^

I did now ^^
EDIT: Now finally got it work together with jose, if someone has the same problem, ask Josepezdj or me, ^^

Quote from josepezdj on October 2, 2013, 2:36 pmOK, I checked the code TheTobbell sent to me, and I thought it was important to mention where the issue, that bloody scary texture, was, in order to let the rest ppl know: numbers for defining colours like for these parameters:
- $fogcolor
- $reflecttint
- $refracttintshould ALWAYS be into quotes. Those parameters themselves are not needed between quotes though, but the numbers should have them. If not, the engine take them as other values for different parameters, and maybe that bloody texture is the result of leaving the "$refracttint" parameter without a defined value... So:
$fogcolor "{ 58 35 20 }" IS CORRECT
"$fogcolor" "{ 58 35 20 }" IS CORRECT
$fogcolor { 58 35 20 } IS NOT CORRECT
OK, I checked the code TheTobbell sent to me, and I thought it was important to mention where the issue, that bloody scary texture, was, in order to let the rest ppl know: numbers for defining colours like for these parameters:
- $fogcolor
- $reflecttint
- $refracttint
should ALWAYS be into quotes. Those parameters themselves are not needed between quotes though, but the numbers should have them. If not, the engine take them as other values for different parameters, and maybe that bloody texture is the result of leaving the "$refracttint" parameter without a defined value... So:
$fogcolor "{ 58 35 20 }" IS CORRECT
"$fogcolor" "{ 58 35 20 }" IS CORRECT
$fogcolor { 58 35 20 } IS NOT CORRECT