HDR in panda

Hi,

Can anyone explain to me how to go about using HDR in panda3d?

I understand the concept of HDR but I am lost as to how to go about implementing it in panda. I have searched the forums and played around with lightramps and other code, but I just cant make anything happen.

thanks.

It’s pretty easy. You need to apply a LightRampAttrib:

# Choose whichever gives the best effect
#node.setAttrib(LightRampAttrib.makeHdr0())
node.setAttrib(LightRampAttrib.makeHdr1())
#node.setAttrib(LightRampAttrib.makeHdr2())
node.setShaderAuto()

HDR looks best in combination with bloom.

Any example images of HDR rendering ?