Skip to content

hemispheres float texture always NaN if glDisable( GL_BLEND ); not issued beforehand #13

@ziocleto

Description

@ziocleto

Hi,

I do not know if this project is still active but I'd like to suggest a fix for a no-show issue if lightmapper.h is included in an existing codebase that already sets few openGL states.

In particular if glEnable( GL_BLEND ); is active, every texel generated will result into a NaN.

Maybe you can force it in lmCreate, not sure though if you decide to defer the render, or maybe in renderscene, when you already force set the depth test.

Cheers,
Dado.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions