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

Allow HDR texture types in DepthOfFieldBlurPostProcess #12556

Merged
merged 1 commit into from
May 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class DepthOfFieldBlurPostProcess extends BlurPostProcess {
}

/**
* Creates a new instance CircleOfConfusionPostProcess
* Creates a new instance DepthOfFieldBlurPostProcess
* @param name The name of the effect.
* @param scene The scene the effect belongs to.
* @param direction The direction the blur should be applied.
Expand Down Expand Up @@ -73,8 +73,7 @@ export class DepthOfFieldBlurPostProcess extends BlurPostProcess {
(samplingMode = Constants.TEXTURE_BILINEAR_SAMPLINGMODE),
engine,
reusable,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
(textureType = Constants.TEXTURETYPE_UNSIGNED_INT),
textureType,
`#define DOF 1\r\n`,
blockCompilation
);
Expand Down