jsocol / jsocol/indirect3d

Maybe implement lighting for lines and points

Open
#8 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

Need to double-check what the behavior should be here. Lines don't have surface normals so can't really interact with positional or spotlights. They could potentially interact with directional lights but it seems like that would be based on the sine of the angle between the line and light direction, rather than cosine of some normal, (i.e. lines parallel to the light direction wouldn't catch the light at all) but I may be overthinking this. It's possible the intent in D3D9 is that they just have color, not materials and not lighting effects.

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 clarifying the intended D3D9 behavior for lines and points, including whether directional, positional, or spotlights should affect them. Review the existing rendering and lighting behavior, then establish a decided model and corresponding validation; the issue names no files or tests, so the scope is not yet ready for a first contribution.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.