How can I calculate the normal of a sin wave along the X,Y and Z axis on a sphere? DirectX

前端 未结 0 1282
梦毁少年i
梦毁少年i 2020-12-23 23:02

I am struggling to figure out how to calculate the normals for the sin wave on my sphere in the vertex shader. The function to generate the wave is

input.posi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题