csgo-2018-source/launcher_main/errorshader.vp

25 lines
614 B
Plaintext
Raw Permalink Normal View History

2021-07-25 12:11:47 +08:00
/* SCE CONFIDENTIAL */
/* PlayStation(R)3 Programmer Tool Runtime Library 350.001 */
/* Copyright (C) 2006 Sony Computer Entertainment Inc. */
/* All Rights Reserved. */
void main
(
float3 position : POSITION,
float3 normal : NORMAL,
float4 color : COLOR,
uniform float4x4 modelViewProj,
out float4 oPosition : POSITION0,
out float4 oNormal : TEX0,
out float4 oColor : COLOR
)
{
oPosition = mul(modelViewProj, float4( position, 1 ) );
oNormal = mul(modelViewProj, float4( normal, 0 ) );
oColor = color;
}