You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Shader Language preprocessor processes the shader code to add some custom features.
'#include''#import' statement
Include statement to include the code of another shader file into the code of current shader file. For example:
#import "library/another.shader"
Collecting shader information
Collecting the shader source code information into the data structure. Including but not limited to uniforms, vertex attributes, ins, outs, consts, functions.
The text was updated successfully, but these errors were encountered:
mouse0w0
changed the title
Shader language features
Shader language custom features
Dec 6, 2019
#include can only be supported if the graphics card has this extension supported: GL_ARB_shading_language_include
If we have to support this on any cards, we do need some tricks to simulate it
A Shader Language preprocessor processes the shader code to add some custom features.
'#include''#import' statementInclude statement to include the code of another shader file into the code of current shader file. For example:
#import "library/another.shader"
Collecting shader information
Collecting the shader source code information into the data structure. Including but not limited to uniforms, vertex attributes, ins, outs, consts, functions.
The text was updated successfully, but these errors were encountered: