   directx 10 shader
  Hy.I'm try to begin with directx 10.Now i have to display mesh with UV and texture , exist some shaders already prepared for do that?and for the parallax bumb and normal mapping?Thanks.   
  Hello - you can take a look at the online book linked in my signature.  The lighting model section discusses several of the techniques that you are asking about, and going into quite a bit of detail.If you have other questions you could always repost here for some help too.   ;  Thanks, the book is optimal....but , i would start to render some cube and texture in directx 10 and i'm not an expert, so i look in the directx specifics and i dont see nothing about material and texture!What shader or tutorial you advice to me?Thanks.   ;  You need to spend a week or so pooring over the MSDN docs and samples.It explains how you can set and get effect variables, communicating between your shaders and your application. Look underprogramming guide->effectsAlso, read the same in the DX9 section. I've found that MS left alot out of the DX10 docs and expected you to already be well versed with the DX9 docs. If you can't find something under DX10, it is most likely still under DX9 and works the same way.The effect variables _are_ the material in essence. You decide what varibales in your shader you can play with and have your application set them prior to applying the pass.The above was a huge pain for me, because MSDN failed to mention the "before applying the pass" part :POrder of calls is important.If you start by just mimicking the tutorials, you will understand by the basics of how shaders work by tutorial 5.@JasonThat is a very good lighting article. To think I spend $100 on a grpahics book to get the same information in a more complicated form and still had to convert from HLSL 2 to 4. Thanks for that! I am implementing it now. I might have some questions later :)   ;Quote:Original post by brekehan@JasonThat is a very good lighting article. To think I spend $100 on a grpahics book to get the same information in a more complicated form and still had to convert from HLSL 2 to 4. Thanks for that! I am implementing it now. I might have some questions later :)I wasn't the only author of that book - the lighting section was written by Jack Hoxley, so don't forget to give him a ring and thank him for his hard work!I hope you enjoy the book, and I look forward to hearing your feedback!;  thanks jason ,and.. there are some downloadable code from the book?by   ;  At the end of the Environmental Effects chapters (SSAO, Dynamic Particle Systems, and Environment Mapping) there are links to sample programs.  I'm not sure if the other authors uploaded their sample programs yet or not.  If not, you can try to PM them and ask if they will be uploading them or if they could email the sample code to you.   