Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _LIGHTS
- #define _LIGHTS
- #include "stdafx.h"
- struct DirectionalLight
- {
- D3DXVECTOR4 color;
- D3DXVECTOR3 direction;
- D3DXVECTOR4 diffuse;
- };
- struct PointLight
- {
- D3DXVECTOR3 Pos;
- D3DXVECTOR3 attenuation;
- float range;
- D3DXCOLOR ambient;
- D3DXCOLOR diffuse;
- D3DXCOLOR spec;
- };
- struct Material
- {
- float ambient, diffuse, specular, shininess;
- };
- #endif
Add Comment
Please, Sign In to add comment