Κυριακή 20 Ιανουαρίου 2008

Fake Hdr


I decided to create a series of post effects in my engine,as usual my reference were the shaders from rendermonkey .The first post effect is based on the fake Hdr shader provided by ATI.I stuck in the set get render targets for a while (I used them before for the shadow map but this time the stuff was a liitle bit more complicated) at the end I was rewarded for my persistance :).The sky box shader is taken from the Frank Luna's book Directx 9c Programming a shader approach.I forgot to mention that I enchanced the bump map shader to receive the enviromental values from the enviroment map with interesting results!!Last I play with the exposure value and I created a simple day/night cycle effect .I believe that with a slight modification I can include some tone mapping but I have to figure out how to handle proper hdr images.

Δεν υπάρχουν σχόλια: