id Tech Forums

id Tech 4 (Doom3/Prey/Q4) => id Tech 4 Textures => Topic started by: oneofthe8devilz on April 24, 2015, 06:45:21 PM

Title: Realtime Dynamic Water Puddle
Post by: oneofthe8devilz on April 24, 2015, 06:45:21 PM
Lately when I watched footage of the big CurrentGen Engines one feature seemed to pop up frequently across all engines... namely reflecting "Water Puddles"...

So I sat down trying to come up with a use-able solution for my D3 MCS (http://www.moddb.com/mods/mars-city-security) build with the following latest result...

(click the image to playback the youtube video)
(http://www.scared-pixel-studios.com/public/images/mcs/MCS.Realtime.Dynamic.Water.Puddle.jpg) (https://www.youtube.com/watch?v=EtterQvC_24)
Title: Re: Realtime Dynamic Water Puddle
Post by: The Happy Friar on April 25, 2015, 09:11:34 AM
Neat.  I read the comments on the video and I'll throw my theory in how it was done:
patch with water reflection texture that has an alpha channel to make the puddle.
Title: Re: Realtime Dynamic Water Puddle
Post by: tron on April 27, 2015, 07:12:03 AM
Looks great!
Title: Re: Realtime Dynamic Water Puddle
Post by: oneofthe8devilz on April 27, 2015, 10:05:55 AM
Thx for the positive feedback guys...

... and yes it is a dynamic patch mesh decal with multiple alpha channeled shading stages to be able to have different areas of the puddle shading in different ways (like for example having subtle dynamic reflective waves towards the middle and bumpier static reflections towards the outer area of the puddle).