New answers tagged

2

Here's a starting point, using a float variable _Density to control how many repeats you get. float3 n = normalize(IN.worldNormal); // Get longitude (x) in the range -1...1, and latitude (y) in the range (-0.5...0.5). float2 longLat = float2(atan2(n.z, n.x), asin(n.y)) / 3.141592653589f; // Count how many rows we can fit top ...


Top 50 recent answers are included