+10
Terminé

Object Radius node

Arda Güneş il y a 10 ans mis à jour par Freya Holmér (Developer) il y a 9 ans 2
An object radius node, among other things, would allow scale aware tiling for textures based on the object size.

Example could be seen here: https://www.youtube.com/watch?v=YMvg8dHet5E

This would allow blending models of different scale blend better.

Solution

Solution
Terminé
There's now an object scale node in Shader Forge (Unity 5 only)
À l'étude
I could add an object scale node, which would correspond to the uniform scale. However, it won't be able to read non-uniform scaling. That said, you could pass in object radius data manually through scripting, if necessary.
Solution
Terminé
There's now an object scale node in Shader Forge (Unity 5 only)