Skip to content

Uniforms_Section

Aiekick edited this page Mar 19, 2019 · 1 revision

this section will contain all the uniforms

it is written like that :

@UNIFORMS

there is no key or params for this one

when you need an uniforms you need to put in after this Section

if you want to place an uniforms on top of a function you can apply this trick

@FRAGMENT

code

@UNIFORME

uniform float toto;

@FRAGMENT

code

Clone this wiki locally