Hello,
I was wondering if there is any place where I can download some .shader file versions of any HLSL programs and/or examples of them. Also, if there is any way to write an HLSL program to calculate where in 3D world space a render actually takes place in such a way where if any 3D object which uses this shader should move around in 3D space or rotate, the texture virtually appears to stay stagnant in one spot, that would be great. Where could I possibly download such a shader that does this?
An almost perfect example of exactly what I am talking about can be found at…
http://www.pasteunity.com/WebPlayer.aspx?GameID=73
but includes a javascript to control the shader that is not always 100% accurate at doing what I want it to do, and heard something like this can be done in HLSL.
Michael