I’m trying to create a real-time terrain editing as the editor does.
And I find the projector confused. I’m using the same way as the Editor. Use wrapmode as repeat. And it returns me the situation like this.
http://www.shineinthebox.com/WebPlayer/WebPlayer002/
The projector project to the terrain filled with textures.
And I try to modify the wrapmode to clamp. It returns this.
http://www.shineinthebox.com/WebPlayer/WebPlayer/
Yet, if you use the third brush and you will see the problem.
Can anyone help me?
Can anyone help?
No one knows why?
Try turning mipmapping off and leave a pixel border.
Just an addendum: I suspect one of the lower mipmap levels is being used and that the lower level maps have pixels that touch the edge. Clamp effectively takes the edge pixels for filling in the rest of the projector’s target’s outer pixels.
It’s the edge problem. Thanks.