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.

27 lines
913 B

  1. //===== Copyright � Valve Corporation, All rights reserved. ======//
  2. #ifndef ishadersystem_declarations_hdr
  3. #define ishadersystem_declarations_hdr
  4. #ifdef _WIN32
  5. #pragma once
  6. #endif
  7. //-----------------------------------------------------------------------------
  8. // Modulation flags
  9. //-----------------------------------------------------------------------------
  10. enum
  11. {
  12. SHADER_USING_ALPHA_MODULATION = 0x01,
  13. SHADER_USING_FLASHLIGHT = 0x02,
  14. SHADER_USING_PAINT = 0x04,
  15. SHADER_USING_EDITOR = 0x08,
  16. // the BUFFER0 and GBUFFER1 bits provide 3 g-buffermodes plus the normal modes.
  17. // the modes are:
  18. // Normal rendering = ( gbuffer1 = 0, gbuffer0 = 0 )
  19. // Output pos, normal, albedo via mrts = (0,1)
  20. // output fixed lighted single image = (1,0)
  21. // output the normal = (1,1)
  22. SHADER_USING_GBUFFER0 = 0x10,
  23. SHADER_USING_GBUFFER1 = 0x20,
  24. };
  25. #endif