Skip to content
devonium edited this page Mar 4, 2023 · 2 revisions

Current shader model is 3.0 (DirectX 9)

https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl

Possible includes

Pixel shader macros

  • SCR_W Screen width
  • SCR_H Screen height
  • SCR_S Screen size (float2(SCR_W, SCR_H))
  • FLASHLIGHT Is flashlight enabled
  • NUM_LIGHTS

Vertex shader macros

  • SKINNING Does the model have bones
  • NUM_LIGHTS
Clone this wiki locally