jsocol / jsocol/indirect3d

Add materials

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lighting
Dominant language
TypeScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Materials override simple vertex colors and let us define how a material reflects different types of light—ambient, diffuse, specular, internal/emitted light—and a "power" or "shininess" factor.

In D3D9, materials are configured on the IDirect3DDevice9 with the SetMaterial method.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TypeScript implementation corresponding to IDirect3DDevice9 and the path that handles simple vertex colors. Read the linked Materials and SetMaterial references to define the required behavior. Done means materials can represent ambient, diffuse, specular, emitted light, and power or shininess while overriding simple vertex colors; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.