Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only color buffer can be used as texture from render target (DEF-2699) #3547

Closed
britzl opened this issue May 23, 2019 · 1 comment · Fixed by #7681
Closed

Only color buffer can be used as texture from render target (DEF-2699) #3547

britzl opened this issue May 23, 2019 · 1 comment · Fixed by #7681
Assignees
Labels
3d Issues related to new 3D functionality bug Something is not working as expected engine Issues related to the Defold engine render

Comments

@britzl
Copy link
Contributor

britzl commented May 23, 2019

Description:
We only support color buffer as texture (graphics_opengl.cpp#GetRenderTargetTexture), probably because it's the only one represented as a Texture (the others are uint buffer handles). The calling code is render_script.cpp#RenderScript_EnableTexture

Steps to reproduce:
(LINK REMOVED)

@britzl britzl added bug Something is not working as expected engine Issues related to the Defold engine and removed bug Something is not working as expected labels May 23, 2019
@britzl britzl added the render label Apr 12, 2020
@subsoap
Copy link
Contributor

subsoap commented Feb 25, 2021

This is needed for SSAO (depth buffer)

@Jhonnyg Jhonnyg self-assigned this Aug 18, 2022
@britzl britzl added the 3d Issues related to new 3D functionality label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3d Issues related to new 3D functionality bug Something is not working as expected engine Issues related to the Defold engine render
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants