Ok,in my book I got to shaders,the thing is,i don't really recognise them. The book uses the same language as here
http://www.fairyengine.com/articles/hlsl2sided.htm
Is that because it's using vertex shader 1.1 or what? Is it an older version of hlsl? I see that is using assembly language too!
I worked with pixel and vertex shaders.I used to put them in an effect file.Please help me with an explanation about the code in the website linked above.
What kind of hlsl is this?
That's what shaders used to be, GPU assembly. "Modern" concept of shaders where introduced in PS/VS 1.4 I think (or 2.0, I'm not sure), that was the turning point when DX started to take over.
Yeah that article is a little weird because it spends a lot of time talking about shader assembly, which is the (intermediate) format that HLSL shaders get compiled to. If you look through the whole article you can see there are parts later on where he re-implements the shaders in plain HLSL.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement