add sampler states

add light
add normals
This commit is contained in:
2025-11-12 12:24:37 +01:00
parent d78aec9c1a
commit 5e31638fb8
6 changed files with 95 additions and 53 deletions
+5 -1
View File
@@ -4,9 +4,13 @@
class Light
{
public:
UINT init();
UINT init(D3DLIGHT9& light, INT id = 0);
void update(FLOAT dt);
void render(IDirect3DDevice9* pD3DDevice);
void deInit();
private:
D3DLIGHT9 _light;
INT _id;
};