Environmrnt maps in OpenGL

88dc730f0f71e55be39de0ad103bd9ff
0
Alienizer 109 Apr 13, 2012 at 15:25

Is it possible to have an hdri environment map in OpenGL as oppose to the cube map?

2 Replies

Please log in or register to post a reply.

B5262118b588a5a420230bfbef4a2cdf
0
Stainless 151 Apr 14, 2012 at 09:09

Have a read of http://www.smetz.fr/wp-content/uploads/2007/01/hdr_opengl.pdf

Be aware that some opengl platforms limit the size of textures, hell if you end up doing opengles coding the limits can be nasty.

I know one device that only supports 256 pixels, anything bigger is truncated.

88dc730f0f71e55be39de0ad103bd9ff
0
Alienizer 109 Apr 15, 2012 at 01:13

oh! so it’s more complicated than I thought! Thanks for the paper, I’ll study it.