Registering new openGl Functions |
New openGl functions can be registered with Mari's Shader API
glslc & glslh files are automatically registered when placed inside the following folder structure
~\Scripts\ExtensionPack_XvXX\Shaders\FunctionLibrary\
Its best to try to follow how the folder and file naming convection are currently set so using the
fileFunctionName.glslc -- This is the equivalent of a source file
fileFunctionName.glslh -- This is the equivalent of a header file
Example:
~\Scripts\ExtensionPack_XvXX\Shaders\FunctionLibrary\USER_FunctionLibrary
With this system you can prefix any nodes added into the library from the XML nodes, to Function libraries
Example: USER_NewNode.xml, USER_Procedurals.glslc etc...
Existing Functions can be found in the Function Overview Section of this SDK
Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework