Log in or register to post comments

screen filled with object texture after building user defined target

June 6, 2015 - 1:12am #1

I created this small demo where I am creating a user defined target, the model is generating fine on pc after creating the target , it works fine when I test it on pc(using webcam,image is attached)

but when I test it on my phone(motog 2),after creating the user defined target it fills the screen with the texture that the object has. 

images are attached

any solutions ??

 

thank you

screen filled with object texture after building user defined ta

June 9, 2015 - 10:36pm #5

thanks for the details

screen filled with object texture after building user defined ta

June 9, 2015 - 5:33pm #4

Changing from "Custom/VideoBackground" to "Custom/RenderVideoBackground" adjusted the render queue ordering for the BackgroundPlane, since overlay is rendered after geometry:

// excerpt from Custom/VideoBackground.shader

Tags {"Queue"="geometry-11" "RenderType"="opaque" }


// excerpt from Custom/RenderVideoBackground.shader

Tags {"Queue"="overlay+1" "RenderType"="overlay" }

Unity's docs explain more details about the Rendering Order:

http://docs.unity3d.com/Manual/SL-SubShaderTags.html

 

screen filled with object texture after building user defined ta

June 8, 2015 - 10:10pm #3

sorry, and thanks for reminding me.. by the way the problem has been solved.. I just changed the ARcamera's backgroundPanel's video material from custom/videoBackground to custom/renderedVideoBackground.. 

 

screen filled with object texture after building user defined ta

June 8, 2015 - 4:51pm #2

The images are not attached to your post.

Log in or register to post comments