Skip to content

Bloom.js bug #3

Description

@Yuu6883

https://github.com/scriptfoundry/WebGL2-Videos-Materials/blob/main/31.Bloom.js#L776

The texture array should be [smallerSource.texture, largerSource.texture] instead, since you are binding the smaller texture to unit0 and the big one to unit1. I was wondering why my output looks blurred when I set bloom strength to 0, and it turns out to be blurring the big texture instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions