- Home /
Projector on sphere creating extra lines
I have a sphere which uses a script to reverse the winding and colour it white on the inside. I am then using a projector to project a texture onto it. The texture is an orange circle on a black background, and it ends up making the whole sphere black with orange lines emitting from the texture around the sphere, looks like North South East West lines.
Answer by DMGregory · May 07, 2014 at 10:18 PM
Probably due to texture clamping. Wherever the orange circle touches the outside row/column of pixels, that final outside edge gets repeated for every texel beyond the texture area.
Inset the circle in your texture so it has a row of black (or transparent) pixels all around the outside of the image, and the extra lines should disappear.
Would you consider marking the answer "Accepted" if it solved your problem? It's generally good etiquette, as a way of marking useful answers for future users to find.
Answer by gsmetzer · Jan 24, 2017 at 11:12 PM
I opened up the shader file for the projector and deleted the line //Offset -1, -1 It cleared up all the black lines for me. Hope that helps someone.
Your answer
Follow this Question
Related Questions
How to implement aimspot on billiard ball 1 Answer
Positioning texture in a sphere 0 Answers
Set Texture on only particular part (portion) of a Sphere 1 Answer
Assigning UV Map to model at runtime 0 Answers
A way to "fold" a texture on a mesh? 1 Answer