mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
shaders/common/ no longer exists
This commit is contained in:
parent
fa1380acc5
commit
967fa62ddd
10 changed files with 14 additions and 14 deletions
|
|
@ -5,9 +5,9 @@
|
||||||
// (currently not used for default AFX selection-highlighting)
|
// (currently not used for default AFX selection-highlighting)
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
#include "../common/shaderModelAutoGen.hlsl"
|
#include "../shaderModelAutoGen.hlsl"
|
||||||
#include "shaders/common/postFX/postFx.hlsl"
|
#include "../postFX/postFx.hlsl"
|
||||||
|
|
||||||
TORQUE_UNIFORM_SAMPLER2D(highlightBuffer,0);
|
TORQUE_UNIFORM_SAMPLER2D(highlightBuffer,0);
|
||||||
TORQUE_UNIFORM_SAMPLER2D(backBuffer,1);
|
TORQUE_UNIFORM_SAMPLER2D(backBuffer,1);
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@
|
||||||
// http://www.garagegames.com/community/resources/view/17821
|
// http://www.garagegames.com/community/resources/view/17821
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
#include "../common/shaderModelAutoGen.hlsl"
|
#include "../shaderModelAutoGen.hlsl"
|
||||||
#include "shaders/common/postFX/postFx.hlsl"
|
#include "../postFX/postFx.hlsl"
|
||||||
|
|
||||||
TORQUE_UNIFORM_SAMPLER2D(highlightBuffer,0);
|
TORQUE_UNIFORM_SAMPLER2D(highlightBuffer,0);
|
||||||
TORQUE_UNIFORM_SAMPLER2D(backBuffer,1);
|
TORQUE_UNIFORM_SAMPLER2D(backBuffer,1);
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
|
|
||||||
struct ConnectData
|
struct ConnectData
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
struct VertData
|
struct VertData
|
||||||
{
|
{
|
||||||
float3 position : POSITION;
|
float3 position : POSITION;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
|
|
||||||
struct ConnectData
|
struct ConnectData
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
struct VertData
|
struct VertData
|
||||||
{
|
{
|
||||||
float3 position : POSITION;
|
float3 position : POSITION;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
|
|
||||||
struct ConnectData
|
struct ConnectData
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../common/shaderModel.hlsl"
|
#include "../shaderModel.hlsl"
|
||||||
struct VertData
|
struct VertData
|
||||||
{
|
{
|
||||||
float3 position : POSITION;
|
float3 position : POSITION;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../../common/gl/hlslCompat.glsl"
|
#include "../../gl/hlslCompat.glsl"
|
||||||
|
|
||||||
uniform mat4 modelview;
|
uniform mat4 modelview;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Copyright (C) Faust Logic, Inc.
|
// Copyright (C) Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
|
||||||
#include "../../common/gl/hlslCompat.glsl"
|
#include "../../gl/hlslCompat.glsl"
|
||||||
|
|
||||||
uniform mat4 modelview;
|
uniform mat4 modelview;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue