Gandi Posted February 14, 2012 Share Posted February 14, 2012 As I was bored last days i decided to work on my post process ocean again. Problem was, that i couldn't find the code and materials anymore, so i started to build it up again from the beginning. Now i got some decent results i want to share with you: Thats my favorite screenshot. you can see caustics, specular, color fading as water gets deeper and reflection. caustics again.. and one shot from far away. This water is rendered without any geometry data (completele post process) after everything else got rendered. For the waves i used a Heightmap which also stores the normals: packed into one 1024x1024 RGBA8 texture. For fine details i use a bumpmap at different scale and overlay it. (don't think a screenshot is needed here) currently just 256x256px, maybe i get better results with a bigger texture. It still needs some tweaks, but i think its much better results then at my last try. Whats missing: -Foam: as soon as i find a good foam texture i will add foam at the shore and on the wave-peaks -new Heightmap. The current heightmap got visible seams and is not very good as i just upsampled it in photoshop from 256px to 1024px -new Bumpmap: i want to check if i get better results with a bumpmap with higher resolution (at least 512²px) -some minor changes with the computation of the fresnel value and better transition from near water to far distance water. -minor changes with the computation of the refraction/reflection uv-coordinates It would be great if i could test the ocean in a more beatiful environment (a nice little island), but as i got no assets and i'm not very good at creating terrains i want to ask you, if maybe someone got a nice scene where i could test it on. Furthermore, if someone got a good heightmap, bumpmap or texture for foam or any other ideas how i could improve it, i would be grateful. also if someone got an idea how i could improve the generation of the waves, as at the moment the just move into one direction, what maybe looks ok at one side of an island, but when the waves travel orthagonal or away from the shore it looks pretty strange. 1 Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted February 14, 2012 Share Posted February 14, 2012 That really looks very effective, shame it's static as it's always hard to get the real feel of the water without seeing it in motion. Looking forward to seeing more of this though! Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
wailingmonkey Posted February 15, 2012 Share Posted February 15, 2012 maybe a way to implement Tessendorf waves?...I suspect it's pretty fps-heavy, but as I'm no programmer...maybe you could work wonders. Here's a guy who implemented them in XSI (before it was Autodesk Softimage): http://www.amaanakram.com/?page_id=131 *edit* Oops...forgot to say, looking good, Gandi! Quote Vista Ultimate SP1 64bit | Q6600 2.40 GHZ | 8GB RAM | 320MB Nvidia 8800GTS Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted February 15, 2012 Share Posted February 15, 2012 Has anyone here tried implementing waves by applying a sine curve function (with some randomness & a few more complexities) to the heights of rows of vertices on a plane? I'd imagine this would be a huge FPS hit but just wondering if anyone has tried it? .. If not I might just give it a try for kicks. Though I doubt it would be very viable performance wise. Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Marleys Ghost Posted February 15, 2012 Share Posted February 15, 2012 @Ken: Yes, Red did a while ago when trying to reinstate an earlier version of Leadwerks water: http://www.leadwerks.com/werkspace/topic/1364-oh-no-i-broke-joshs-waterplane/page__hl__waterplane__fromsearch__1 Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
David Will Posted February 15, 2012 Share Posted February 15, 2012 I want the Crysis water, including the RGB effects. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.