Which book will be better in terms of graphics programming(Rendering,Lighting and Shaders)?



am really confused which book will be better if my only concern is graphics programming such as rendering,lighting and shaders?

My concern with 3D Game Programming is it uses D3DX library which has been deprecated.So Should I go for the other book or should I go for 3D Game Programming book and ignore D3DX(which I think would be hard) ?


The library the book uses should be secondary, I would think that the fundamental concepts are more important…the library/libraries used is just a means to express those concept. Ex. simple blinn-phong lighting does not change whether you are using DirectX or OpenGL or some other graphics API or library…The concept is the same.