Jump to content

  • Log In with Google      Sign In   
  • Create Account

What kind of hlsl is this?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 noatom   Members   -  Reputation: 782

Like
0Likes
Like

Posted 28 December 2012 - 04:00 PM

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.

Edited by noatom, 28 December 2012 - 04:01 PM.


Sponsor:

#2 TheChubu   Crossbones+   -  Reputation: 4354

Like
0Likes
Like

Posted 28 December 2012 - 04:30 PM

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.


Edited by TheChubu, 28 December 2012 - 04:32 PM.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator


#3 MJP   Moderators   -  Reputation: 11376

Like
0Likes
Like

Posted 28 December 2012 - 06:25 PM

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.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS