Unity-Technologies / Unity-Technologies/Unity.Mathematics
Color wise Component swizzle and function on vector types
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
For shader language compatibility and ease of use.
float4.rgba alike swizzle is expected.
And color-wise functions are expected too.
For example:
HsvToRgb()
RgbToHsv()
GammarToLinear()
LinearToGammar()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the vector types and existing math functions in the repository, then review the shader-compatibility requirements for color swizzles and conversions. Done means an agreed API and implementation for rgba-style swizzles plus HsvToRgb, RgbToHsv, GammaToLinear, and LinearToGamma behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100