Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
614 B

/* 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;
}