Home » Community » Forums » » The Complete Effect and HLSL Guide, Chapter 1
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 The Complete Effect and HLSL Guide, Chapter 1
Post Reply 
This book is a nice reference, but not really very good for learning to program shaders. There are lots of errors, however most are not serious.


John Bolton
Locomotive Games (THQ)
Current Project: Destroy All Humans (Wii). IN STORES NOW!


 User Rating: 1839   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

What sort of errors are you talking about?

I was considering buying the book because of the claimed "completeness",
most shader books just quickly present the shader framework, don't exhaust the keywords/their usage, etc.



-------------------
My Blog
My Company
My RentACoder's Profile

 User Rating: 986   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Here are some typical errors:

In the fmod() description:
Quote:
... For example, the following code
    fmod( float4( 1.0, -1.1, 2.2, 10.00)
          float4( 0.5, 10.0, -0.2, 1.1 ) )  
will yield the following result: -1.10000002, 5.511512e-017, 0.100000001 ...

In the modf() description:
Quote:
... For example, the following code
log( float4( 0.01, 0.5, 1.0, 2.0 ) ) 
will yield the following results: ...
They published the book ahead of schedule, and I think they accomplished that by skipping the proofreading step.

I'm not an expert on effects and HLSL (which is why I got the book), but it seems very complete. That's a big plus because (as you said), no other books are as complete.

I don't recommend it for someone just learning to program shaders because it doesn't explain a lot of things. For example, there is virtually no description on using pixels shaders, and I can only find two examples of pixel shader code in the entire book.


John Bolton
Locomotive Games (THQ)
Current Project: Destroy All Humans (Wii). IN STORES NOW!


 User Rating: 1839   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Pity that it doesn't detail on Pixel Shaders.
It needs a complementary book then, something that goes
through various levels of difficulty via explained samples.

Does any such book come to mind? Or have I just given a great
idea for (yet) another shaders' book ? :)

 User Rating: 986   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

The intent of the book was to cover the HLSL and effect framework (i.e integrating shaders into applications) rather than the pure development of shaders. The author's previous book "Shaders for Game Programmers and Artists" covers the topic of shader development.

 User Rating: 1015    Report this Post to a Moderator | Link

I agree with John Bolton... I think the Editor/Proof reader cut some corners since in just the sample Chapter 1 there are numerous typo's...

ie:
page 33 the word threat should be treat
page 31 the word weexplore should read we explore

i know, i know, kinda nit picky but still show's short cuts and incomplete editing. I am still going to get it though... so hope it give me what i'm looking for...

 User Rating: 1015    Report this Post to a Moderator | Link



 User Rating: 1015    Report this Post to a Moderator | Link

If you want to be nit-picky you have a ton of examples. How about the 2nd sentence!

"Although I did take the summer off to relax and send quality time with my wife."

Jeez, fire your proof reader -- just makes you look rather stupid.





 User Rating: 1015    Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: