- Код: Выделить всё
<effect id="texture0-effect">
<profile_COMMON>
<newparam sid="texture0-effect-surface">
<surface type="2D">
<init_from>texture0</init_from>
</surface>
</newparam>
<newparam sid="texture0-effect-sampler">
<sampler2D>
<source>texture0-effect-surface</source>
</sampler2D>
</newparam>
<technique>
<blinn>
<emission>
<color>0 0 0 1</color>
</emission>
<ambient>
<texture texture="texture0-effect-sampler" texcoord="CHANNEL1" />
</ambient>
<diffuse>
<texture texture="texture0-effect-sampler" texcoord="CHANNEL1" />
</diffuse>
</blinn>
</technique>
</profile_COMMON>
</effect>
Что может быть не так?
Если у кого есть пример правильного куска collada, который импортируется с текстурой - покажите как там оформлен эффект.