Subversion Repository Public Repository

Divide-Dependencies

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <defines.cg>

struct FragmentParameters
{
	float4 worldSpacePosition : TEXCOORD4;
	float2 texcoord0          : TEXCOORD0;
	half4  color              : COLOR;
};

struct Fragment
{
	half4 color : COLOR0;
};

DECLARE_TEXTURE(diffuseTexture)

Fragment fmain(FragmentParameters params)
{
	Fragment fout;
	half4 diffuseTextureColor = half4(tex2D(diffuseTexture, params.texcoord0.xy));
	fout.color = diffuseTextureColor * params.color;
	return fout;
}

Commits for Divide-Dependencies/physx/APEX_1.4/media/SampleRenderer/4/shaders/fragment/text.cg

Diff revisions: vs.
Revision Author Commited Message
105 IonutCava picture IonutCava Tue 16 Apr, 2019 19:55:41 +0000

Forgot to actually add physx