Guest User

Untitled

a guest
Apr 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #ifndef _LIGHTS
  2. #define _LIGHTS
  3. #include "stdafx.h"
  4.  
  5. struct DirectionalLight
  6. {
  7. D3DXVECTOR4 color;
  8. D3DXVECTOR3 direction;
  9. D3DXVECTOR4 diffuse;
  10. };
  11.  
  12. struct PointLight
  13. {
  14. D3DXVECTOR3 Pos;
  15. D3DXVECTOR3 attenuation;
  16. float range;
  17. D3DXCOLOR ambient;
  18. D3DXCOLOR diffuse;
  19. D3DXCOLOR spec;
  20. };
  21.  
  22. struct Material
  23. {
  24. float ambient, diffuse, specular, shininess;
  25. };
  26.  
  27. #endif
Add Comment
Please, Sign In to add comment