HLSL for getting cylinder effect

前端 未结 2 1573
渐次进展
渐次进展 2020-12-20 00:49

I need to write an application with Silverlight 4 and need to show images like wrapped on cylinder. I need some HLSL code, as I wont to do that with Effects of Silverlight.<

2条回答
  •  Happy的楠姐
    2020-12-20 01:23

    While you could do this with HLSL if you really wanted to, you'd normally do it by creating a mesh in the shape you want, then applying the picture to the mesh as a texture.

提交回复
热议问题