Robert Osfield 8e3f4e4890 From Fabio Mierlo,
"I add a new option in the HDR Reader.

The RAW option store the RGBE values into a Image, to use
this option you need to decode the RGBE value in the frag-
ment shader. Follow the cube map glsl decoder:

vec4 textureCubeRGBE( uniform samplerCube sampler, vec3 coords )
{
   ivec4 rgbe = textureCube( sampler, coords ) * 255. + 0.5;
   float e = rgbe.a - ( 128 + 8 );
   return vec4( rgbe.rgb * exp2( e ), 1.0 );
}

This option is usefull for who have a outdate hardware like
FX cards and want to do cool things.

Finally this patch is need by a new HDR Rendering example
that I will put on the Wiki."
2005-08-22 13:54:43 +00:00
2005-05-25 11:45:02 +00:00
2005-08-22 13:54:43 +00:00
2005-05-25 15:35:51 +00:00
2005-05-31 05:48:27 +00:00

Welcome to the OpenSceneGraph (OSG).

For up to date information on the project, how to compile and run libraries 
and examples, and see the documentation on the OpenSceneGraph website.

    http://www.openscenegraph.org
  

Robert Osfield. 
robert@openscenegraph.com
November 2004.
Description
No description provided
Readme 76 MiB
Languages
C++ 89.7%
C 5.1%
CMake 2.3%
HTML 1.6%
Objective-C++ 0.9%
Other 0.2%