Website powered by

Seafarer: Window Wipers

Shaders for the interactive window wipers for Seafarer's Immersion Update.
https://www.artstation.com/maksymilianhutyra
Huge shout-out to Maksymilian Hutyra who did the brunt of the modelling work and texture baking, couldn't have done it without him.

We're using Ultra Dynamic Sky in our project and I've often integrated or adapted UDS/UDW's features into our various materials. The glass shader needed to be adapted to not only support UDW integration (of which mostly the textures remained at the end) but also support our interactive wipers.
I've played through several options: A render target was out of the question for performance reasons, some ships have dozens of windows with individually controllable wipers after all. A flipbook would technically work but required large texture sizes to be accurate and we have many different window shapes per ship, which would rack up need for different textures even more, even if channel packed.

-- What I finally ended up building was based on a temporal offset texture, which had the total "wipe space" baked into the red channel and the "wipe motion" as a gradient in the green channel. This bake data came out of blender. We then could pack all wiper masks of a given ship into a single texture.

Building the temporal offset animation