PDA

View Full Version : Free PDF of ShaderX2 books



Michael Hartlef
16-07-2008, 06:00
Hi folks,

I found this blog entry of the GarageGames community. There are new PDFs availabel from some SHADERX2 books:

http://www.garagegames.com/blogs/16732/15071

Cheers
Michael

Petr Schreiber
16-07-2008, 10:35
Good find Mike!,

very nice books :) Although just for Direct3D, the shaders use HLSL syntax, which is similar to GLSL, and there are HLSL-to-GLSL autoconverters as well.

So great reading, doesn't matter if using DX and/or OGL.


Thanks,
Petr

kryton9
16-07-2008, 11:09
No wonder shaders confuse me, they are different for the two api's... yikes!

Thanks for the find Mike!

Petr Schreiber
16-07-2008, 11:30
... and can have different syntax even inside each API, hehe.

NVIDIA tries to bridge this with the CG shading language, which is the same for D3D and OGL.


Petr

kryton9
16-07-2008, 21:26
Petr, so a good way to start with all of this would be with the cg, thanks for the tip!