Khronos Public Bugzilla
Bug 150 - fx_sampler_common allows sampler elements to be empty; needs explanation
fx_sampler_common allows sampler elements to be empty; needs explanation
Status: NEW
Product: COLLADA
Classification: Unclassified
Component: Schema
Macintosh Mac OS
: P3 minor
: Release 1.5.1
Assigned To: Fabrice Robinet
COLLADA Work Group email alias
: collada-fx
Depends on:
  Show dependency treegraph
Reported: 2009-04-19 21:50 PDT by Ellen Finch
Modified: 2014-01-07 10:23 PST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ellen Finch 2009-04-19 21:50:16 PDT
Opening originally as a schema bug but maybe it's a spec bug for missing info. 

fx_sampler_common can legally be empty (as shown in the profile_GLES example). However, it's not clearthat this makes sense. Does it? If so, when? 

Here's part of the example:

  <newparam sid="gravel"> 
  <newparam sid="grass"> 
  <newparam sid="transition"> 
  <technique sid="main"> 
    <pass sid="p0"> 
            <constant> 0.0f, 0.0f, 0.0f, 1.0f </constant> 
            <RGB operator="INTERPOLATE"> 
               <argument source="TEXTURE" operand="SRC_COLOR" sampler="gravel"/> 
              <argument source="TEXTURE" operand="SRC_COLOR" sampler="grass"/> 
              <argument source="TEXTURE" operand="SRC_ALPHA" 
            <alpha operator="INTERPOLATE"> 
              <argument source="TEXTURE" operand="SRC_ALPHA" sampler="gravel"/> 
              <argument source="TEXTURE" operand="SRC_ALPHA" sampler="grass"/> 
              <argument source="TEXTURE" operand="SRC_ALPHA"