UE4 stencil buffer

 https://forums.unrealengine.com/t/using-stencil-buffer/149974/4

Stencil value


I don’t know how it works in Unity but in UE4 you can’t read from the stencil buffer in a masked material, which means you have to use a translucent material. This makes it an expensive effect, and you’ll end up with the usual problems with translucent materials, namely you may get inconsistent lighting or sorting issues.

댓글

이 블로그의 인기 게시물

UE get player controller

Raytracing

Shader informations nice blog ~ ~