Search the Community
Showing results for tags 'outline'.
-
Hi, we are developing a border detection/outline shader that renders the border of a mesh over any other objects in the scene. Some other post ask for similar effects but none came up with a final solution: https://developer.unigine.com/forum/topic/3432-object-outline-shader/?hl=%2Bdepth+%2Btest#entry18421 https://developer.unigine.com/forum/topic/2899-depth-testing-in-post-shader-precision/?hl=%2Bdepth+%2Btest#entry15842 https://developer.unigine.com/forum/topic/917-depth-test/?hl=%2Bdepth+%2Btest#entry4545 Sample post_selection_00 is the kind of effect that we need to achieve but rendering the border over all other objects (like disabling depth buffer). But I can't figure out how to achieve depth test disabling effect Here is a sample image of what we want to achieve: Any suggestions? Thanks in advance.
-
[SOLVED] Auxiliary buffer is doing depth test since 2.7.3 which results in Z Fighting
sebastian.vesenmayer posted a topic in Bug Reports
Hi, I just port our project from 2.7.2 to 2.7.3 and discovered that the auxiliary buffer is doing a depth test now. My material is set to disable depth test and depth mask to prevent depth testing and writing so I can write all pixel in the auxiliary buffer to do the outlining with a sobel later. It worked without problems in 2.7.2.. Is there a workarround without offsetting the geometry from the ground plane? Sample code and video is in the attachement. Thanks, Sebastian source.zip UNIGINE Engine 11.01.2019 11_34_19.mp4