Skip to content

global_shader_variables/buffer_size set too high in new Compatibility project #85374

@lostminds

Description

@lostminds

Godot version

4.2.rc2

System information

macOS 14.1

Issue description

Creating a new Compatibility project the default setting for rendering/limits/global_shader_variables/buffer_size is set to 65536, but apparently this is too high for Compatibility renderer limits, because you get a warning when running:

W 0:00:00:0093   MaterialStorage: Project setting "rendering/limits/global_shader_variables/buffer_size" exceeds maximum uniform buffer size of: 16384
  <C++ Source>   drivers/gles3/storage/material_storage.cpp:1114 @ MaterialStorage()

Steps to reproduce

Create a new blank Compatibility project, with an empty scene and run it and see the warning

Minimal reproduction project

Just create a new project from the project manager as I think the issue is the default value for new Compatibility projects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Bad

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions