Kamusta dudes and dudettes,
I'm taking a look at the ColorFilter class and came across ColorFilter.prototype._fragmentSrc (which contains the GLSL code for the filter):
Looking at other GLSL code on the interwebs, I noticed that the code below contains "#" before certain statements...
Can anybody explain the difference between the two... why is "#" used in one and not the other? And if I were to use GLSL code similar to the latter in my own RMMZ filter, would I still include the "#"?
Thanks in advance!
I'm taking a look at the ColorFilter class and came across ColorFilter.prototype._fragmentSrc (which contains the GLSL code for the filter):
Looking at other GLSL code on the interwebs, I noticed that the code below contains "#" before certain statements...
Can anybody explain the difference between the two... why is "#" used in one and not the other? And if I were to use GLSL code similar to the latter in my own RMMZ filter, would I still include the "#"?
Thanks in advance!