Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
mdk's avatar
mdk
Honored Guest
11 years ago

Need some help with Unity Mirrorshader V3.0

So I'm trying to get a demo ready before I get my DK2 (estimated arival next thursday). Everything in the demo seem OK, but there is a mirror in the scene and the Unity mirrorshader is not working. The funny thing is that it works just fine in the scene editor view, but not in game view. In game the object is showing mostly a white color and from some angles other random colors. This problem is not exclusive to the OVR cameras. It also happens with the Main Camera and Unity first person controller. The mirror also is displayed correctly in camera preview windows. It basically breaks when I hit the play button. Has anyone else had these types of issues?

Edit: The scene I'm working on is an updated version of shown in this animation.
https://www.youtube.com/watch?v=87oOdqzrctQ

1 Reply

Replies have been turned off for this discussion
  • mdk's avatar
    mdk
    Honored Guest
    I managed to fix the problem. Seems like the shader did not like any of the objects in my scene even when the axis was correct. I'm guessing that some script is altering the axis data when I run the game or there might be some object parenting thing. With unity cube primitive object the mirror shader does not break So I just scaled a cube to the proper size and put it over the mirror object.