#Compositor normal invalid

1 messages · Page 1 of 1 (latest)

round silo
#
var scene_buffers: RenderSceneBuffersRD = render_data.get_render_scene_buffers()
var normal_texture := scene_buffers.get_texture("forward_clustered", "normal_roughness")
print(normal_texture.is_valid()) # returns false

"Needs Normal Roughness" is enabled

I also get this in the console

servers/rendering/renderer_rd/storage_rd/render_scene_buffers_rd.cpp:399 - Condition "!named_textures.has(key)" is true. Returning: RID()
Texture (binding: 0, index 0) is not a valid texture.
servers/rendering/renderer_rd/uniform_set_cache_rd.h:130 - Condition "rid.is_null()" is true. Returning: rid
servers/rendering/rendering_device.cpp:4392 - Parameter "uniform_set" is null.
Uniforms were never supplied for set (1) at the time of drawing, which are required by the pipeline.

What am I doing wrong?

round silo
#

looks like this is a godot bug

#

you need a gdshader in your scene using hint_normal_roughness_texture