Download

World aligned texture tile ?

Then using standard uv and texture coord space it’s obvious how much tiling there is of the texture, but when using the world aligned texture function is there any way to tell how much tiling is happening ? If I’m using this over and over for many textures is this going to slow things down ?

The cost is the overhead of calculating the uv coord based on world position.

It costs more than using regular uvs but is not extreme

World Aligned texture costs considerably more than ordinary texture. Yep, it is going to slow things down if you overuse it.

Ok, thanks.

just scale the vertex position to tile,not much about it,the cost depends on your requirment,like box world aligned,cylinder world aligned,only xy world aligned,if you only want to align on the side,the cost is like nothing,just a lerp and some contrast.