Hi!
I’m using the Unity Syphon plugin and specifically the Syphon Client Texture Projector script. I’m projecting across the whole scene to achieve a kind of anamorphic illusion where the camera starts at the same position as the projector so the image looks 2D, but then reveals the 3D geometry when the camera moves away from the projector.
Here’s the effect in action with a static image on a conventional Unity Texture: https://vimeo.com/87241677
I’m now trying to convert that effect to use the Syphon Texture Projector script to swap that static image out with live video from a Syphon source.
I got the Syphon Client Texture Projector hooked up and achieving basically the same effect. However, there seems to be a problem with the mipmapping on the Syphon Client Texture Projector:
I had a similar glitch when I first started designing this effect with the traditional Unity Texture that I fixed through some black magic combination of turning on and off mipmapping-related options in the Advanced Texture Import menu (I think Unity caches the mipmaps even after you hit apply so it’s hard to tell which set of options it’s actually applying). Maybe one of the options having to do with mipmapping for the borders of the texture?
Is it possible to turn on mipmapping for the Syphon Client Texture Projector in code within the script? (I couldn’t find any appropriate method in the docs.) Or is there some other solution to this? Maybe in the shader?
Thanks!