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

refactor: optimize color calculations in MToon0xSingleShader #1510

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

emadurandal
Copy link
Collaborator

  • Simplified shade color and lit color calculations by integrating the srgbToLinear conversion directly into the texture sampling process.
  • Removed redundant srgbToLinear calls for outline color, improving clarity in the shader code.
  • Enhanced readability and maintainability of the shader code by streamlining color processing logic.

- Simplified shade color and lit color calculations by integrating the srgbToLinear conversion directly into the texture sampling process.
- Removed redundant srgbToLinear calls for outline color, improving clarity in the shader code.
- Enhanced readability and maintainability of the shader code by streamlining color processing logic.
@emadurandal emadurandal merged commit 145f66c into main Jan 2, 2025
4 checks passed
@emadurandal emadurandal deleted the fix/vrm0x-mtoon branch January 2, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant