mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Merge pull request #1003 from Lopuska/ribbon_opengl
Ribbon port for opengl
This commit is contained in:
commit
c20f29c672
10 changed files with 282 additions and 1 deletions
|
|
@ -29,6 +29,11 @@ new ShaderData( BasicRibbonShader )
|
|||
DXVertexShaderFile = "shaders/common/ribbons/basicRibbonShaderV.hlsl";
|
||||
DXPixelShaderFile = "shaders/common/ribbons/basicRibbonShaderP.hlsl";
|
||||
|
||||
OGLVertexShaderFile = "shaders/common/ribbons/gl/basicRibbonShaderV.glsl";
|
||||
OGLPixelShaderFile = "shaders/common/ribbons/gl/basicRibbonShaderP.glsl";
|
||||
|
||||
samplerNames[0] = "$ribTex";
|
||||
|
||||
pixVersion = 2.0;
|
||||
};
|
||||
|
||||
|
|
@ -55,7 +60,12 @@ new ShaderData( TexturedRibbonShader )
|
|||
{
|
||||
DXVertexShaderFile = "shaders/common/ribbons/texRibbonShaderV.hlsl";
|
||||
DXPixelShaderFile = "shaders/common/ribbons/texRibbonShaderP.hlsl";
|
||||
|
||||
|
||||
OGLVertexShaderFile = "shaders/common/ribbons/gl/texRibbonShaderV.glsl";
|
||||
OGLPixelShaderFile = "shaders/common/ribbons/gl/texRibbonShaderP.glsl";
|
||||
|
||||
samplerNames[0] = "$ribTex";
|
||||
|
||||
pixVersion = 2.0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue