mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 20:05:33 +00:00
gui shaders for opengl
First opengl geometry shader along with the other shaders for gui rendering opengl side.
This commit is contained in:
parent
d9c4269d8b
commit
fbed04050a
9 changed files with 274 additions and 9 deletions
|
|
@ -462,7 +462,7 @@ bool GFXGLShader::_init()
|
|||
if (!mGeometryFile.isEmpty())
|
||||
{
|
||||
macros.last().name = "TORQUE_GEOMETRY_SHADER";
|
||||
compiledGeometryShader = initShader(mPixelFile, GFXShaderStage::GEOMETRY_SHADER, macros);
|
||||
compiledGeometryShader = initShader(mGeometryFile, GFXShaderStage::GEOMETRY_SHADER, macros);
|
||||
if (!compiledGeometryShader)
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue