» HDR Tone Mapping Technique
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

HDR Tone Mapping Technique



In 3D Computer Graphics, high dynamic range rendering (HDRR or HDR Rendering), also known as high dynamic range lighting, is the rendering of computer graphics scenes by using lighting calculations done in a larger dynamic range. This allows preservation of details that may be lost due to limiting contrast ratios. Video games and computer generated movies and special effects benefit from this as it creates more realistic scenes than with the more simplistic lighting models used.

Tone mapping is a technique used to map colors from high dynamic range (in which lighting calculations are performed) to a lower dynamic range that matches the capabilities of the desired display device. Typically, the mapping is non-linear - it preserves enough range for dark colors and gradually limits the dynamic range for bright colors.


HDR_Tone_Mapping 1.1.zip - 08.11.10 [11:44 UTC] by dottore | 937 downloads
notes: All PS and VS to 3.0. hope this fixes ATI cards problems

other/older revisions

HDR_Tone_Mapping 1.0.zip - 08.11.10 [01:05 UTC] by dottore | 480 downloads

hrovac 08/11/2010 - 02:40

sounds great but its all black on ati with vvvv23...

m4d 08/11/2010 - 03:40

awesome, buddy! :)

@hrovac: try setting all compile targets to ps/vs 3.0 model by editing the appropriate lines in the shaders. e.g.:

VertexShader = compile vs_1_1 VS();
PixelShader  = compile ps_2_0 PS();


VertexShader = compile vs_3_0 VS();
PixelShader  = compile ps_3_0 PS();

i have no ati here right now to try it on this shader, but this generally worked for me on most shaders.. (ati fx compiler is said to be more strict than nvidias)

Bitminster 08/11/2010 - 12:20


dottore 08/11/2010 - 12:32

thanks guys, i'm sorry about ATI problems. i'll just recompile all the shaders in 3.0.

aze 08/11/2010 - 13:46

hdr?! yeehaa! 1.1 works fine on my ati, thanks a lot!

antokhio 09/11/2010 - 05:58

thx dottore, its way what i needed ;]

aze 10/11/2010 - 03:58

..and it's nicely working as effect in svvvvitcher ;)

anonymous user login


~7h ago

joreg: six days to #node15 reminder: remaining workshop seats: node15-worshops-remaining-seats #vvvv

~8h ago

vjc4: Guys I will be travelling to Node next week, and I would love to buy a OculusDK2... anybody can sell me one ? I paid new price for it

~12h ago

svdk: A little patch, not really worth going in contributions : http://www.svdk.fr/realtime-montage-experiment/

~16h ago

velcrome: @remony: Patch on the Beach, SideCAR, Whisky Damper

~21h ago

Urbankind: teemo: Skype returns 6 results on the same name, be more specific

~1d ago

ggml: teemo better start a thread in the forum and attach an example patch with the problem

~1d ago

teemo: Can someone add me to skype please camy-kumar something has happened to my project half of it isnt showing but code is there????!!

~1d ago

tonfilm: haha lasal, pin tonics we will have!

~1d ago

tekcor: pinacollada is almost too obvious