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

  1. /* SCE CONFIDENTIAL */
  2. /* PlayStation(R)3 Programmer Tool Runtime Library 350.001 */
  3. /* Copyright (C) 2006 Sony Computer Entertainment Inc. */
  4. /* All Rights Reserved. */
  5. void main
  6. (
  7. float3 position : POSITION,
  8. float3 normal : NORMAL,
  9. float4 color : COLOR,
  10. uniform float4x4 modelViewProj,
  11. out float4 oPosition : POSITION0,
  12. out float4 oNormal : TEX0,
  13. out float4 oColor : COLOR
  14. )
  15. {
  16. oPosition = mul(modelViewProj, float4( position, 1 ) );
  17. oNormal = mul(modelViewProj, float4( normal, 0 ) );
  18. oColor = color;
  19. }