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.

37 lines
848 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Eyeball shader
  4. //
  5. //=============================================================================//
  6. #include "basevsshader.h"
  7. // memdbgon must be the last include file in a .cpp file!!!
  8. #include "tier0/memdbgon.h"
  9. BEGIN_VS_SHADER( Eyeball, "Help for EyeBall" )
  10. BEGIN_SHADER_PARAMS
  11. SHADER_PARAM_OVERRIDE( BASETEXTURE, SHADER_PARAM_TYPE_TEXTURE, "models/alyx/pupil_l", "iris texture", 0 )
  12. SHADER_PARAM_OVERRIDE( BASETEXTURETRANSFORM, SHADER_PARAM_TYPE_MATRIX, "center .5 .5 scale 1 1 rotate 0 translate 0 0", "unused", SHADER_PARAM_NOT_EDITABLE )
  13. END_SHADER_PARAMS
  14. SHADER_INIT_PARAMS()
  15. {
  16. }
  17. SHADER_FALLBACK
  18. {
  19. // This should be a dead shader...
  20. return "Wireframe";
  21. }
  22. SHADER_INIT
  23. {
  24. }
  25. SHADER_DRAW
  26. {
  27. }
  28. END_SHADER