MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Wireframe Shader not good on Spheres

Open Augmentaio opened this issue 6 years ago • 3 comments

Overview

The MRTK Wireframe Shader has artifacts when colliding with other geometries. In Editor and in Build

Expected behavior

The rendered sphere should look round

Actual behavior

The rendered sphere looks edgy image

Steps to reproduce

Add a sphere GO Add a Material with Wireframe Shader from MRTK Add a cube or plane GO that intersects with the sphere

Unity editor version

testd with 19.3

Mixed Reality Toolkit release version

2.4

Augmentaio avatar Aug 26 '20 16:08 Augmentaio

I just started using the MRTK wireframe shader and noticed this happening on my objects, as well as other z-fighting issues.

Line 42 in MRTK_Wireframe.shader: Offset 50, 100, seems to be hardcoding the depth offset values. If I comment it out, then it appears to fix this issue and the z-fighting issues I was having with my objects.

deibu avatar Nov 24 '20 18:11 deibu

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

stale[bot] avatar Apr 18 '22 15:04 stale[bot]

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!

IssueSyncBot avatar Jan 13 '24 00:01 IssueSyncBot