matrakim / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Need access to entire sampler array #161

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Only samplers that are known to be used are stored in the CommonEffect sampler 
array. This is a problem when samplers are needed for extra aspects of an 
effect. The specific issue is supporting the FCOLLADA bump extension 
(http://www.collada.org/mediawiki/index.php/Bump_texture_FCOLLADA_extension).

It's a relatively easy fix to change LibraryEffectsLoader::fillSamplerArray to 
iterate mEffectProfileSidSamplerInfoMap instead of mEffectProfileSamplersMap, 
but I suspect that has side-effects.

Original issue reported on code.google.com by will.thi...@googlemail.com on 2 May 2011 at 5:00