refactor: make shader paths configurable via constants #703

Open
SakulFlee wants to merge 1 commit from cleanup/configurable-shader-paths into main
Owner

Replaced hardcoded shader paths with named constants:

  • ShaderPreprocessor: DEFAULT_SHADER_LIB_PATH (replaces debug/release variants)
  • PBRMaterialShader: DEFAULT_PBR_SHADER_PATH

Added ShaderPreprocessor::new_with_path() to allow custom shader
library paths. Also fixed the release path from lowercase 'shaders'
to proper case 'Shaders'.

Replaced hardcoded shader paths with named constants: - ShaderPreprocessor: DEFAULT_SHADER_LIB_PATH (replaces debug/release variants) - PBRMaterialShader: DEFAULT_PBR_SHADER_PATH Added ShaderPreprocessor::new_with_path() to allow custom shader library paths. Also fixed the release path from lowercase 'shaders' to proper case 'Shaders'.
refactor: make shader paths configurable via constants
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
2c06110c58
Replaced hardcoded shader paths with named constants:
- ShaderPreprocessor: DEFAULT_SHADER_LIB_PATH (replaces debug/release variants)
- PBRMaterialShader: DEFAULT_PBR_SHADER_PATH

Added ShaderPreprocessor::new_with_path() to allow custom shader
library paths. Also fixed the release path from lowercase 'shaders'
to proper case 'Shaders'.
Some checks are pending
ci/woodpecker/push/linting Pipeline was successful
ci/woodpecker/pr/test
Required
ci/woodpecker/pr/linting
Required
Some required checks are missing.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin cleanup/configurable-shader-paths:cleanup/configurable-shader-paths
git switch cleanup/configurable-shader-paths
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SakulFlee/Orbital!703
No description provided.