Shader Question: Top-Face Only.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BennyDT

Hello, I’m creating a water shade similar to the quake water shader but I’m not getting it.

I’m trying to create a shader where any face touching another face is hidden.

If that’s impossible: I want a shader where only the top faces are shown, preferably in any direction but always up. (Like a 45 degree angle but still facing upwards)

Any help is appreciated. Examples would be amazing. Thank you.