Original Post
🔒 Locked
Vertex shader tutorials?
Advertisement
Why don''t you look at the articles section on this site? There''s an excellent shader programming series by Wolfgang Engel.
Buy book(s). For CG you can buy "The CG Tutorial", good book for those who are learning shder programming and simple basic shaders.
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
quote:
Original post by fredizzimo
Why don't you look at the articles section on this site? There's an excellent shader programming series by Wolfgang Engel.
That is an old tutorial and some of the things do not apply anymore like this:
, and device->SetVertexShaderConstant().
DWORD SDec[] =
{
D3DVSD_STREAM(0),
D3DVSD_REG(0, D3DVSDT_FLOAT3 ), // input register #1
D3DVSD_REG(3, D3DVSDT_FLOAT3 ), // normal in input register #4
D3DVSD_END()
}
And I rather not spend $40 on a book that I have no idea how much use I'll get out of, and I only have a geForce3 so I couldn't run half of the examples from the book anyway.
[edited by - Sfpiano on March 22, 2004 5:58:44 PM]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement