Few questions - All solved

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Few questions - All solved

Post by Drakkan »

Doridion wrote:I've tested again, and seen two things.

1 - If i'm far of the water ( height +1 for example ), reflection seems having no issue. ( you can find below my test )
2 - If i'm approaching and place in the same level or really near the water, i've got the same issue than you.

I think about the reflection/refraction must be adapted with the height offset ( Y ). Or simply more, there's an issue with shader rendering.

Image

I'm actually working on the sort of all johnW's excellent work for the primal assets definition ( really heavy work ... more than 33k lines to sort, sort, and sort again to be correctly understandable for all modders ). I finded all the water effects and will analyse them to give you an as quick as possible answer.

Sorry for late, even i'll answer, yep, i'll answer xD
Hi Doridion, just in case you will be around, if you have any news about this water level issue ?
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
Mentok
Posts: 5
Joined: Sat Dec 27, 2014 6:34 am

Re: Few questions - All solved

Post by Mentok »

Regarding the WaterSurface code...

I noticed that this code only seems to change where the water appears to be, you will still technically be underwater as soon as you step over it (rather than falling into it) as the "WaterSurface" is still set to 0 (Maybe this has nothing to do with it either, just guessing here). Hopefully, there is a way to offset the "WaterSurface", I tried myself but it said it did not support offset. :(

Any help would be greatly appreciated.
Post Reply