How to RTT(Render To Texture)

0

Intro:

Hello Lumberyard Community.

I'm coming from development on another engine and recently discovered lumberyard and how polished it is. I'm trying to port over some functionally and there are a few question I have. I'm mainly wondering if I need to develop something or if its part of the lumberyard core.

Question:

Is it possible to pass a pixel buffer and render to a texture? And are there any examples of doing this? What part of the API should I be looking at? To explain I previously was rendering different cameras and a chromium instance to textures and was wondering if it was possible to do the same.

The only previous reference I found was this post, which doesn't help much:

https://forums.awsgametech.com/t/render-to-texture/1019/1

Hope my question makes sense.

Thanks!

feita há 6 anos163 visualizações
6 Respostas
0
Resposta aceita

Hi @REDACTEDUSER

I have an experimental version of render to texture that is not part of the engine yet, but I am looking into other options for distributing this code in a way where it won't be supported, but would at least be available for testing by a wider audience. I've created an internal issue to track this request LY-84395.

UPDATE: Lumberyard 1.18 introduces the render to texture component which can be used to draw a scene to a texture https://docs.aws.amazon.com/lumberyard/latest/userguide/component-render-to-texture.html

respondido há 6 anos
0

Hi @REDACTEDUSER

Also, we can't access your jira. ;)

Thanks

respondido há 6 anos
0

Hi @REDACTEDUSER

respondido há 6 anos
0

Thanks @REDACTEDUSER

respondido há 6 anos
0

Actually @REDACTEDUSER

respondido há 6 anos
0

Thank you for the follow up! Really excited to use the feature. Also really appreciate all the hard-work by the lumberyard team!

respondido há 5 anos

Esta postagem está fechada: a adição de novas respostas, comentários e votos está desativada.