component-material icon indicating copy to clipboard operation
component-material copied to clipboard

Add default vert and frag

Open gsimone opened this issue 3 years ago • 0 comments

Default vert would be used like

<M>
   <M.vert /> // empty
</M>

and result in a default non-transforming vertex shader

void main() {
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position,1.);
}

gsimone avatar Dec 10 '20 14:12 gsimone