Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. //output.height = lerp(lerp(a, b, localUV.x), lerp(c, d, localUV.x), localUV.y);
  2. //output.height = _HeightMap.SampleLevel(MyPointRepeatSampler, uvSphere, 0).x;
  3. //output.height = tex2Dlod(_HeightMap2, float4(uvSphere, 0, 0)).x;
  4. float a = _HeightMap.Load(int3(coord.x, coord.y, 0)).x;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement