Skip to content

GLES 2 DoF near does not work on mobile (android tested) #69987

@ClintochX

Description

@ClintochX

Godot version

3.5.1

System information

Windows 10, Intel core i5 (2 cores @2.8Ghz), Intel HD Graphics 4000.

Issue description

In GLES 2, I created a simple scene with spheres on them, I added DoF near and increase the blur amount, it works fine when I run it in Editor and project but when exported to android, it doesn't show at all. Though the DoF far works fine only that the DoF near doesn't work at all.

Steps to reproduce

  1. Switch to GLES 2
  2. Add simple 3D Meshinstance node with a primitive mesh to the scene
  3. Add a camera3d node
  4. Add an environment node
  5. Enable DoF near in the environment properties settings and adjust the amount
  6. Save and export it to an android device
  7. Run the Demo. And you'll notice that DoF near doesn't work.

Minimal reproduction project

Get the sample Demo project file here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions