Extrapolate clamped texture with fixed color
I want to set a small texture onto a large object, that only consists of one face. So I unwraped this face (in Blender) and scaled it up in the UV editor. The more I scale it up, the smaller the texture is on the object. (I hope it’s understandable: The unwrapped faces goes beyond the normal borders of the uv map.)
The problem is, that the pixels outside the texture are just continued from its border pixels, but I want them to be transparent (or any other color that I set).
As you can see, the corners of the stop sign are already transparent, so most of the object is blue as desired, but it also touches the border and – depending on the LOD – either the very thin black or the bigger white border of the sign are extrapolated to the sides beyond the texture.
Please note that I disabled tiling in my texture asset by setting “X/Y-axis tiling method” to Clamp. You can find this option in the section “Texture” under Advanced.
asked Nov 30 '17 at 05:51 PM in Using UE4
Follow this question
Once you sign in you will be able to subscribe for any updates here