The group for gamers dedicated to Linux. No matter if game developers or game players all are welcome interested in Linux as a gaming platform.

Report article RSS Feed Realtime water reflection, refraction and physics | Developmen diary #12

From the last development diary, I've improved the water surface shader, or more precisely, water surface effect. I'm calling it effect because it requires render-to-texture and some additional C# code, for camera transformations, in order for it to simulate real-time reflections.

Posted by IvanJMandic on Apr 3rd, 2013

Nucleotide game development diary series covers the development progress of the eponymous game in a form of video blog. This is our latest video:

Transcript:
Hello there, Ivan here, bringing you updates on the Nucleotide game development.From the last development diary, I've improved the water surface shader, or more precisely, water surface effect. I'm calling it effect because it requires render-to-texture and some additional C# code, for camera transformations, in order for it to simulate real-time reflections.This effect also simulates light refraction, which makes everything underneath the water surface look distorted. It might seem at first that this effect is visible only around the player, but that isn't the case.If you look closely, on any other part of the scene, you can see that water isn't completely still, at any time.  I took that feature from Unitys Water4 example, and made some modifications, in order for it to work with water surface physics, that were already in the game. Additionally,  I've made some changes to player swimming animation, and speed;When playing with it before, I had a feeling that player is struggling with the water, which should not be the case. I want him to dominate his environment in every way.Even though this guy looks like a frog, he isn't. My goal wasn't to realistically simulate a frog, nor frogs moves, so all deviations that you see were probably intentional. I also started working on the tongue, again. I can now shoot the tongue towards  nothing grabbable, and it will make a slightly different shape every time it get's out.I can also, as before, grab objects and drag them around, this is obviously far from done, but it does work. I took some time to create a decent looking scene for this video, it is far from what I want to achieve in the finished game, but you can defiantly see where the art-style for this game is heading.

Post comment Comments
Germanunkol
Germanunkol Apr 4 2013, 7:10pm says:

Looking amazing. Everything about the video, it's just great. I especially like the combination of the movement and the water effect, that looks awesome.

+3 votes     reply to comment
IvanJMandic
IvanJMandic Apr 7 2013, 5:14pm replied:

Thanks, I'm glad you like it! :D

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Nov 11, 2007
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
News
Browse
News
Report Abuse
Report article
Related Games
Nucleotide
Nucleotide Indie Single Player Adventure
Related Engines
Unity
Unity Commercial Released May 30, 2005
Related Groups
FrozenPixel studio
FrozenPixel studio Developer
Linux Gamers
Linux Gamers Fans & Clans group with 2,901 members