Merge pull request #3 from alphaslime/Ribbon-Implementation-Smallpatch

Fixed a shader related crash and textured ribbon's material
This commit is contained in:
Lukas Joergensen 2014-10-21 07:03:31 +02:00
commit 40bdf19265
7 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
#define IN_HLSL
#include "../common/shdrConsts.h"
#include "../shdrConsts.h"
struct v2f
{

View file

@ -1,5 +1,5 @@
#define IN_HLSL
#include "../common/shdrConsts.h"
#include "../shdrConsts.h"
struct a2v
{

View file

@ -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;
};

View file

@ -1,5 +1,5 @@
#define IN_HLSL
#include "../common/shdrConsts.h"
#include "../shdrConsts.h"
struct v2f
{

View file

@ -1,5 +1,5 @@
#define IN_HLSL
#include "../common/shdrConsts.h"
#include "../shdrConsts.h"
struct a2v
{

View file

@ -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);

View file

@ -1,5 +1,5 @@
#define IN_HLSL
#include "../common/shdrConsts.h"
#include "../shdrConsts.h"
struct a2v
{