Skip to content

SSAOFilter: javadoc + fix approximateNormals serialization #2486

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

Merged
merged 2 commits into from
Jun 17, 2025

Conversation

capdevon
Copy link
Contributor

This pull request focuses on improving the SSAOFilter by:

  • Enhancing Javadoc Documentation: Comprehensive Javadoc comments have been added and refined across the SSAOFilter class and all public methods. This improves clarity, explains parameters, return values, and provides better context for filter usage.
  • Adding Missing Serialization/Deserialization for approximateNormals: The approximateNormals boolean parameter was not being correctly saved or loaded during asset serialization and deserialization. This PR resolves the issue by explicitly including approximateNormals in the write() and read() methods, ensuring its state is persisted.

These changes enhance the maintainability and reliability of the SSAOFilter.

@yaRnMcDonuts yaRnMcDonuts added this to the v3.9.0 milestone Jun 12, 2025
@capdevon capdevon changed the title Enhance Javadoc and Fix approximateNormals Persistence in SSAOFilter Enhance Javadoc + Fix approximateNormals persistence in SSAOFilter Jun 12, 2025
@capdevon capdevon changed the title Enhance Javadoc + Fix approximateNormals persistence in SSAOFilter SSAOFilter: javadoc + fix approximateNormals serialization Jun 13, 2025
@yaRnMcDonuts yaRnMcDonuts merged commit 20876cb into jMonkeyEngine:master Jun 17, 2025
16 checks passed
@capdevon capdevon deleted the capdevon-SSAO branch June 23, 2025 12:48
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.

2 participants