Logo
Explore Help
Sign In
izzy/UnrealEngineUWP
0
0
Fork 0
You've already forked UnrealEngineUWP
mirror of https://github.com/izzy2lost/UnrealEngineUWP.git synced 2026-03-26 18:15:20 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
700f150e4e43a8fa2a419dcafe2366b398ae39b0
UnrealEngineUWP/Engine/Shaders/Private/CopyDepthTexture.usf
ola olsson e929658097 Implemented depth prepass for SingleLayerWater. Depth prepass output is fed into VSM page marking/allocation shader to get correct VSM pages for sampling VSM on water. The depth prepass is also used in the main water pass by setting the main pass depth test to EQUAL and forcing earlyZ. CopyTexture() is currently not supported for depth buffers on all platforms, so I had to write a custom copy shader to create a copy of the main depth buffer to render the water depth prepass into.
#ushell-cherrypick of 21812612 by tim.doerries
#rb Ola.Olsson, andrew.lauritzen, Sebastien.Hillaire
#rnx
#preflight 6331ccc3a4769ad714ad3473

[CL 22307543 by ola olsson in ue5-main branch]
2022-10-03 12:55:37 -04:00

672 B
Raw Blame History

View Raw
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Page: 96ms Template: 16ms
English
English
Licenses API