Can I add steps into the render pipeline?
Asked Answered
C

2

0

I've been reading about mega textures and wondering how feasible it would be to do in Godot. For it to work, I'd need to be able to render my mesh-to-be-mega-textured to its own buffer with a special shader which I would then analyse to update other texture data.

So this render needs to run just after the opaque depth buffer is generated and then render only this one mesh with my custom shader to a separate buffer. I'd then need to run some code on the CPU to update some textures and then render this same mesh with a different shader during the opaque color pass that does the actual mega-texturing. Is this possible?

I was watching a talk on YouTube about the Godot pipeline and I got the impression that they were thinking of adding functionality like this, but I don't know what is currently possible.

Crowned answered 6/12, 2023 at 18:18 Comment(0)
N
0

I think it's still WIP. Linietsky wrote a blog about it but I'm having trouble finding it now...

Novotny answered 6/12, 2023 at 19:58 Comment(0)
R
0

Crowned I don't think it is currently possible but as you say they are thinking about adding the ability for the renderer to call some user provided hooks.

Recusancy answered 12/12, 2023 at 23:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.