CustomStencil not working on Mac
Hey folks, today I was playing around with the newly added CustomStencil on my Mac and initially I thought it was broken or I was doing something wrong because nothing was showing up in my PP material nor in the Visualization Buffer. Then I tested it on PC and worked perfectly fine.
I'm testing using the exact same project and the exact same ProjectSettings (r.CustomDepth=3). This is easy to reproduce as the Custom Stencil Visualization Buffer is completely black on Mac, while on PC it correctly shows the different colored meshes with the respective numbers.
I'm running UE4 4.9, on a MacBook Pro Retina, Mid 2012 (NVIDIA GeForce GT 650M) with OS X Yosemite 10.10.5.
asked Sep 10 '15 at 10:40 PM in Bug Reports
Replying for tracking and backlog purposes. It now works correctly on 4.11 with Metal.
answered May 04 '16 at 02:53 PM
Hi vernocchi -
Thank you for your report. I was able to reproduce this issue and have entered a report regarding it, for reference UE-21018. As we investigate an appropriate solution, I will keep you informed here.
answered Sep 11 '15 at 08:35 PM
Lovecraft_K ♦♦ STAFF
Unfortunately it is not possible to support custom stencil on Mac OS X at this time. For OpenGL to be able sample both depth and stencil components from a depth/stencil surface requires GL_ARB_texture_view which Apple's OpenGL does not provide.
answered Oct 21 '15 at 01:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here