-
Notifications
You must be signed in to change notification settings - Fork 18
FrameBuffer_Section
Aiekick edited this page Mar 19, 2019
·
1 revision
this section correspond to the FRAMEBUFFER. this one control the size and the format of the FBO.
it is written like that :
@FRAMEBUFFER //FORMAT() SIZE() RATIO()
here we have 3 possibles keys :
- FORMAT(params) with params can be 'float' or 'byte'. GlslSanbox use byte texture. ShaderToy use float Texture
- SIZE(params) with params who correspond to size x,y or a picture file with the params (picture:toto.png or toto.jpg)
- RATIO(prams) with params who correspont to a screen ratio or a picture file with the params (picture:toto.png or toto.jpg)
with no key the default it FORMAT(float) and no size or ratio defined, so its adjusted to screen