![]() ![]() It will need to caclulate uv's in the shader, projected based on the balls normals compared to camera look direction. Or 2) setup a render camera that is looking at your marble/ball, and renders to a render texture (but without the ball (put it in a layer the camera doesn't render) then use this texture as an input to shader for the ball. So that the reflection normals are reversed (instead of reflecting like the outside of a ball, it will work more like the inside of a ball) this might make a decent effect, but requires shader programming skills. but would take a fair bit of work and knowledge.ġ) Use the environment-mapped legacy unity shader, but copy and modify it. So here are another couple of "cheat" possibilities. its possible that you might need unity pro or paid, for refraction effects. This will ensure your application has full control of the settings for the camera as long as you're aware of the limitations listed above.This worked for me in the past.BUT. We recommend you always request Exclusive control for the camera when using MRC. ![]() See Locatable camera in Unity for the property to enable holograms. HoloStudio adds a custom MRC camera using MRC effects This allows the application to kick off captures from user input, build custom recording UI, or customize MRC settings to name a few examples. While the user can always trigger a photo or video using the system MRC capture service, an application may want to build a custom camera app that include holograms in the camera stream just like MRC. This is done for you automatically by Unity. Handle the additional HolographicCamera render in Unity To opt in to rendering from the PV Camera when using the Mixed Reality Toolkit, enable the Windows Mixed Reality Camera Settings provider and check Render from PV Camera. If you're using Unity 2019, this requires Unity 2019.4, or newer. If you're using Unity 2018, this requires Unity 2018.4.13f1 or newer. Verify your shaders and code render correctly from this additional HolographicCameraĮnable the PhotoVideoCamera HolographicViewConfiguration in Unity.Handle the additional HolographicCamera render. ![]() ![]()
0 Comments
Leave a Reply. |