mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 04:45:31 +00:00
Fixed a crash when ribbons are loaded
This commit is contained in:
parent
7df83cce4a
commit
c527313284
7 changed files with 9 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#define IN_HLSL
|
||||
#include "../common/shdrConsts.h"
|
||||
#include "../shdrConsts.h"
|
||||
|
||||
struct v2f
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#define IN_HLSL
|
||||
#include "../common/shdrConsts.h"
|
||||
#include "../shdrConsts.h"
|
||||
|
||||
struct a2v
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ singleton CustomMaterial( BasicRibbonMat )
|
|||
|
||||
new ShaderData( TexturedRibbonShader )
|
||||
{
|
||||
DXVertexShaderFile = "shaders/common/ribbons/TexturedRibbonShaderV.hlsl";
|
||||
DXPixelShaderFile = "shaders/common/ribbons/TexturedRibbonShaderP.hlsl";
|
||||
DXVertexShaderFile = "shaders/common/ribbons/texRibbonShaderV.hlsl";
|
||||
DXPixelShaderFile = "shaders/common/ribbons/texRibbonShaderP.hlsl";
|
||||
|
||||
pixVersion = 2.0;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#define IN_HLSL
|
||||
#include "../common/shdrConsts.h"
|
||||
#include "../shdrConsts.h"
|
||||
|
||||
struct v2f
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#define IN_HLSL
|
||||
#include "../common/shdrConsts.h"
|
||||
#include "../shdrConsts.h"
|
||||
|
||||
struct a2v
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#define IN_HLSL
|
||||
#include "../common/shdrConsts.h"
|
||||
#include "shaders/common/torque.hlsl"
|
||||
#include "../shdrConsts.h"
|
||||
#include "../torque.hlsl"
|
||||
|
||||
uniform sampler2D ribTex : register(S0);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#define IN_HLSL
|
||||
#include "../common/shdrConsts.h"
|
||||
#include "../shdrConsts.h"
|
||||
|
||||
struct a2v
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue