Original Post
Hi there, I'm currently a bit stomped about how to use PI in a pixel shader... I would have assumed that HLSL has PI defined but that doesn't seem to be the case and searching the net unfortunately doens't yield useful results... anyone know a method other than passing PI into the shader through a constant buffer? Thanks Marcel