-
Notifications
You must be signed in to change notification settings - Fork 3
HLSL
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
- common_fxc.h
- common_vs_fxc.h
- common_ps_fxc.h
- common_hlsl_cpp_consts.h
- shader_constant_register_map.h
- common_flashlight_fxc.h
- common_vertexlitgeneric_dx9.h
- common_pragmas.h
-
SCR_W
Screen width -
SCR_H
Screen height -
SCR_S
Screen size (float2(SCR_W, SCR_H)
) -
FLASHLIGHT
Is flashlight enabled NUM_LIGHTS
-
SKINNING
Does the model have bones NUM_LIGHTS