
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
angular-three-postprocessing
Advanced tools
angular-three-postprocessing
This is the main entry point for post-processing effects in Angular Three. It provides a way to apply various visual effects to your 3D scene after it has been rendered. This library relies on maath
, three-stdlib
, and postprocessing
as dependencies.
npm install angular-three-postprocessing three-stdlib maath postprocessing
# yarn add angular-three-postprocessing three-stdlib maath postprocessing
# pnpm add angular-three-postprocessing three-stdlib maath postprocessing
This is a wrapper component that manages and applies post-processing effects to your scene. It takes content children of effects and applies them in the order they are provided.
Property | Description | Default Value |
---|---|---|
enabled | Whether the effect composer is enabled. | true |
depthBuffer | Whether to use a depth buffer. | undefined |
enableNormalPass | Whether to enable the normal pass. This is only used for SSGI currently. | undefined |
stencilBuffer | Whether to use a stencil buffer. | undefined |
autoClear | Whether to automatically clear the output buffer before rendering. | true |
resolutionScale | A scaling factor for the resolution of the effect composer. | undefined |
multisampling | The number of samples to use for multisample anti-aliasing (MSAA). Set to 0 to disable MSAA. | 8 |
frameBufferType | The data type to use for the frame buffer. | HalfFloatType |
renderPriority | The render priority of the effect composer. | 1 |
camera | The camera to use for rendering. If not provided, the default camera from the store will be used. | undefined |
scene | The scene to render. If not provided, the default scene from the store will be used. | undefined |
<ngtp-effect-composer [options]="{ multisampling: 0, frameBufferType: FloatType, enableNormalPass: true }">
<ngtp-bloom />
</ngtp-effect-composer>
```
This is an interface that provides access to the underlying NgtpEffectComposer
instance, as well as the camera
and scene
being used. It also includes references to the NormalPass
and DepthDownsamplingPass
if they are enabled
export interface NgtpEffectComposerApi {
composer: EffectComposer;
camera: Camera;
scene: Scene;
normalPass: NormalPass | null;
downSamplingPass: DepthDownsamplingPass | null;
resolutionScale?: number;
}
To retrieve the NgtpEffectComposerApi
for components within <ngtp-effect-composer />
, you can use the injectEffectComposerApi
function.
TBD
FAQs
Postprocessing for Angular Three
The npm package angular-three-postprocessing receives a total of 333 weekly downloads. As such, angular-three-postprocessing popularity was classified as not popular.
We found that angular-three-postprocessing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.