OpenXRay / OpenXRay/xray-16

Implement shader precompiler (offline compiler)

Open
#460 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Help wanted Performance Player Experience Renderer
Dominant language
C++
Stars
3.6k
Forks
536
Avg merge
6d 1h
Merged PRs (30d)
3

Description

Currently, we have this script. It should be reimplemented right in the renderer to be native to it, thus making it easy to maintain, when we introduce new shader options.

Contributor guide

Open the contributing guide

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 reading res/gamedata/shaders/compile.py to understand the existing offline shader compilation flow, then inspect the renderer entry points where shader options are handled. Done means the precompiler is implemented natively in the renderer and remains maintainable as new shader options are introduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.