Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toon color gradients #26

Open
ScanMountGoat opened this issue Jun 11, 2024 · 2 comments
Open

toon color gradients #26

ScanMountGoat opened this issue Jun 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ScanMountGoat
Copy link
Owner

ScanMountGoat commented Jun 11, 2024

Materials that render with the toon deferred shader use color ramps in monolib/shader. This can probably be represented as a color ramp in the material with values based on the selected shader database. Users are unlikely to edit the toon ramp textures. It may also be better to load the full texture from png and select a row with material nodes.

@ScanMountGoat ScanMountGoat added the enhancement New feature or request label Jun 11, 2024
@ScanMountGoat
Copy link
Owner Author

Editing the material parameter that selects the color gradient will require changes in xc3_model for ScanMountGoat/xc3_lib#15.

@ScanMountGoat
Copy link
Owner Author

This should be its own node group to incorporate specular color. The toon deferred shader is completely separate in game from the pbr shader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant