Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAdam_42

Posted 24 March 2013 - 03:51 PM

You can generate the geometry in the vertex shader: http://www.altdevblogaday.com/2011/08/08/interesting-vertex-shader-trick/

 

Note that what gets generated there isn't a quad, that's because using a single triangle makes things slightly more efficient in the pixel shader.


#1Adam_42

Posted 24 March 2013 - 03:51 PM

You can generate the geometry in the vertex shader: http://www.altdevblogaday.com/2011/08/08/interesting-vertex-shader-trick/

 

Note that the reason what gets generated there isn't a quad, that's because using a single triangle makes things slightly more efficient in the pixel shader.


PARTNERS