Learn more Shop now Shop now Shop now Shop now Shop now Shop now Learn More Shop now Learn more Click Here Shop Kindle New Album - Foo Fighters Shop now Shop Women's Shop Men's

Customer reviews

4.5 out of 5 stars
2
4.5 out of 5 stars
5 star
1
4 star
1
3 star
0
2 star
0
1 star
0
Format: Paperback|Change
Price:£30.99+ Free shipping with Amazon Prime

There was a problem filtering reviews right now. Please try again later.

on 6 August 2013
A number of weeks ago, I was asked by Packt Publishing to review this book, they gave me access to the eBook version of the book. Normally I am not to keen on reviewing books, but as this was based on a topic close to my heart (HLSL) I thought I would give it a go.

The book is made up of six chapters, which for a book priced at (hard back) £30.99 seems steep, I guess you can get the eBook for £16.14 (direct from publisher). The books tag line is "Quick answers to common problems", and I guess it sort of does provide this from forward rendering, deferred lighting, shadow mapping, post processing and SSAO, and all for DirectX 11.

I am going to go over each of the chapters and tell you what I thought of each.

Chapter 1: Forward Lighting
Chapter 1 starts of where I guess we all do with HLSL, with forward rendering. Covering Hemispherical ambient light, directional light, point, spot and capsule light, it then goes on to cover projected textures as well as multiple lights. The last part of this chapter I found odd to cover as the next chapter covers deferred lighting, for those of you who are un aware of the difference, with forward render having more than 3 lights tends to kill your GPU, where as deferred lighting allows you to render lots and lots of lights at comparatively little cost. I did however like the solution given for the multiple lights for a forward render :)

Chapter 2: Deferred Shading
A topic close to my heart, this is not done how I would have done it, but still gives a good effect, this chapter covers the creation of the GBuffer, but does not cover how you would go about creating the render targets for it in ode, other than giving the types of targets to use for each RT (You can download the source code for this once you have bought the book though, C++ only though) The chapter then goes onto cover a number of light types, point, capsule and spot lights, but again thought a cone light could have also been added.

Chapter 3: Shadow Mapping
I quite liked the shadow mapping technique given in this book, it uses a PCF (Percentage Closer Filtering) technique, as with most of the chapters in this book, it would have benefitted more if there were more screen shots of the effect being implemented, might just be me, but I like books with pictures, I am not the sharpest tool in the box :S. The chapter only covers shadows generated by spot and point lights based on the techniques used in Chapter 1, the chapter then goes onto cascading shadows and visualizing shadow maps.

Chapter 4: Postprocessing
Another HLS topic close to my heart, but I am not sure I enjoyed this chapter, covering HDR it also went on to a process called Adaption for smoothing HDR transitions, which I think should really just be part of the HDR chapter again, no images showing the effect. The chapter then covers bloom, always a nice post processing effect. Depth of Field is next, but again let down not having an image of the effect. An effect called Bokeh is then give, now I have never heard of this technique (probably should have) so it was good to learn something new, and it even has a nice image of the effect too, and I like the look of it :)

Chapter 5: Screen Space Effects
Onto chapter 5 and screen space effects, I think I would have had all this in chapter 4, but then I guess they only have a five chapter book then. In this chapter SSAO, lens flare, crepuscular (God) rays and screen space reflections are covered. Again, with the SSAO technique, it could have done with an image or two to show you what you will be getting for your effort, there is a good description of how it works though, which helps. Screen space reflections is a nice article and again has a good description of how it works. The God rays are nice too and has (as well as the SSAO article) given me food for thought on how I go about rendering mine :)

Chapter 6: Environment Effects
Covered here are Dynamic Decals, Fog and Rain. Having little experience of DX10/11 this was new to me, and was nice to read something that I didn't have a clue about. The fog is technique here is also a technique I quite like, rather than just lerping the distance to pixel a helper function is created to do the calculation. The rain is also a nice technique with collision detection also included.

Summary
Throughout the book I do like how the info is presented, having a description of what's to be covered, followed by a "Get ready" section telling you the things you are going to need, then a "How to do it" section giving a breakdown of how to go about writing the shaders, then a "How it works" section breaking down the How to.

It would have been nice to have had a few more pictures displaying the effects, as a visual art, it's always nice to see what the effect should be like. Also, the book is source code neutral, I kind of see why that was done, but would have been good to have seen how the source code from C++ and C# would be used to implement the effects, but I guess you can download the source once you have purchased the book, but again, this is all in C++. It would have been nice to have C# samples too. On the whole I think it's an expensive book for what you get, but the content seems sound and would help to get you started writing your own render engine using HLSL under DirectX 11. Which reminds me, I really need to get a decent development machine so I can play with DX11 more :P

You can seem my original review here: [...]
0Comment| 2 people found this helpful. Was this review helpful to you?YesNoReport abuse
on 5 February 2016
Great to-the-point book.
0Comment|Was this review helpful to you?YesNoReport abuse



Need customer service? Click here

Sponsored Links

  (What is this?)