Open zhuxudong opened 3 days ago
The changes in this pull request involve modifications to the BasicRenderPipeline
, _PostProcessManager
, and BasicResources
classes. In BasicRenderPipeline.ts
, the rendering logic is updated to include checks for internalColorTarget
, affecting how the render target is cleared. The _PostProcessManager
class sees the introduction of new blending properties and adjustments to the rendering logic based on the camera's clear flags. Additionally, BasicResources.ts
enhances the blending functionality of the blitMaterial
. These changes collectively refine the rendering and post-processing capabilities of the system.
File Path | Change Summary |
---|---|
packages/core/src/RenderPipeline/BasicRenderPipeline.ts |
Updated render and _drawRenderPass methods to include conditional checks for internalColorTarget , altering render target clearing behavior. |
packages/core/src/postProcess/PostProcessManager.ts |
Added imports for CameraClearFlags and expanded Shader imports. Introduced new blending properties in the uberMaterial and modified _render logic. |
packages/core/src/BasicResources.ts |
Added imports for BlendFactor and BlendOperation . Configured blending properties in the blitMaterial constructor. |
packages/core/src/RenderPipeline/PipelineUtils.ts |
Added import for CameraClearFlags and modified blitTexture method to adjust blend state based on camera's clear flags. |
BasicRenderPipeline
class, specifically the render
method, which is directly related to the changes made in the main PR that also affects the BasicRenderPipeline
class and its rendering logic.RenderQueue
and BasicRenderPipeline
, focusing on the renderQueueType
, which is relevant to the rendering behavior discussed in the main PR.Rendering
, post processing
In the realm of render, colors gleam,
With blending magic, we weave a dream.
Clear flags dancing, targets in sight,
A pipeline of wonders, oh what a delight!
Hops of joy as pixels play,
In this vibrant world, we’ll forever stay! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 70.00000%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 70.77%. Comparing base (
f9fc2c6
) to head (26b9060
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Summary by CodeRabbit
New Features
BasicResources
for better visual effects.Bug Fixes
Documentation