Ticket #160 (new defect)

Opened 2 years ago

Last modified 2 years ago

TextureObjChunk does not allow setting envMode

Reported by: cneumann Assigned to: unassigned
Priority: major Milestone: 2.0 Beta
Component: System Version: 2.0
Keywords: Cc:
Completion:

Description

Setting envMode has been moved to the TextureEnvChunk. In the end, when using a texture with a non-default envMode it requires the user to create both chunks.

I believe this is quite inconvenient, hence I'd like to ask for the rationale for this decision and if it is possible to have the basic feature of glTexEnv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, {GL_DECAL, GL_REPLACE, GL_MODULATE, GL_BLEND}) back in TextureObjChunk ?

Thanks

Change History

02/15/07 17:30:29 changed by dshipton

Most of the time I call on a TextureChunk?:

setImage()
setWrap ()
setMin/MagFilter()
setEnvMode()

…making a separate chunk for the last call is not convient when porting code.