-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magnifier #94
Magnifier #94
Conversation
Testing magnification
Tried Experimenting with HLSL instead of CG based off the fullscreen ColorBlit example, still doesn't work in URP or single pass instance rendering
I've managed to perform a fullscreen blit in multi pass , got single pass instance working in the editor, but for some reason it doesn't work in playmode like multi pass
New progress on the magnifier test shader, with the center and magification amounts exposed as public variables for easy manipulation
scene update with XR interaction toolkit
… but not without issues currently trying to find an alternative to bliting for XR URP Grabpass for XR
new changes
Thank you for posting the draft! Would you be able to remove/clean up the files which don't need to be reviewed? For example, these files don't need to be checked in: There might be some things we need to add to our gitignore. 😅 |
Deleted some files that were not necessary for review
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenFeature.cs
Outdated
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
Outdated
Show resolved
Hide resolved
I see there are Samples~, but they are not showing up in the Package Manager. You can add your entry here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to pull down and test now. Looking good, most comments are about reverting files that may have been accidentally committed.
@@ -3,7 +3,7 @@ | |||
--- !u!30 &1 | |||
GraphicsSettings: | |||
m_ObjectHideFlags: 0 | |||
serializedVersion: 14 | |||
serializedVersion: 13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I bet this entire file could be reverted since you likely didn't mean to change the render pipeline we point to be default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
com.microsoft.mrtk.graphicstools.unity/Runtime/Experimental/Magnifier/Materials.meta
Outdated
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Experimental/Magnifier/Shaders/Magnifier.shader
Outdated
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenFeature.cs
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
Show resolved
Hide resolved
com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
Show resolved
Hide resolved
...soft.mrtk.graphicstools.unity/Samples~/Experimental/Magnifier/Scenes/MagnifierShowcase.unity
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Tested together.
Overview
A custom render feature for the URP that works somewhat like Unity’s “grab pass” feature to help magnify the screen in stereo rendering contexts.
Motivation
In reference to #66 this is an accessibility tool akin to the Magnifier in SeeingVR to Make Virtual Reality More Accessible to People with Low Vision