Jump to content

Why Oculus/HTC shows double images on the replaced picture from custom shader for Post-Processing


photo

Recommended Posts

Hi, all.

 

I am working on a VR/MR project.

 

I had to replace scene image by another image shot by a camera. I was trying creating a custom shader for post-processing to do this. The image on the PC monitor is OK but unfortunately VR headset showed double/overlapped images.

 

e.g. You can take the Post-processing UUSL example provided by Unigine.  And add a texture assigned a local picture in the material and then output the RGB color of this texture to replace the scene image in the frag shader.

 

Anyone knows the reason or solution?  Please help me find out it.

 

thanks!

Link to comment
×
×
  • Create New...