Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

full-screen-quad

1.0.0 • Public • Published

Full-Screen Quad

This module is useful to get vertices for a "full-screen quad". This is typically used for full-screen fragment shaders. You can pass the number of dimensions ( 2 - 4 ) that you wish to be outputted ( different use-cases may prefer different dimensionality ).

Example useage

import FullScreenQuad from 'full-screen-quad'
 
const fsq = FullScreenQuad(2)
 
// output is a float32array of 2d vertices for your full-screen quad

Install

npm i full-screen-quad

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar