Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //output.height = lerp(lerp(a, b, localUV.x), lerp(c, d, localUV.x), localUV.y);
- //output.height = _HeightMap.SampleLevel(MyPointRepeatSampler, uvSphere, 0).x;
- //output.height = tex2Dlod(_HeightMap2, float4(uvSphere, 0, 0)).x;
- float a = _HeightMap.Load(int3(coord.x, coord.y, 0)).x;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement