Grading tutorial is out of date

#1

The tutorial at this location: https://defold.com/tutorials/grading/ is out of date.

It mentions usage of “render.enable_render_target” and “render.disable_render_target” however these no longer exist. However, I do see https://defold.com/ref/render/#render.set_render_target:render_target-[options] as an option. I tried following the tutorial up to the point of creating a grayscale filter effect however I only see a black screen (with my HUD elements drawing over it.) I am using set_render_target and render.set_render_target(render.RENDER_TARGET_DEFAULT) to return to the framebuffer instead of the enable/disable functions mentioned.

0 Likes

#2

@pawel.jarosz21 ever do the PR mentioned here? Render.enable_render_target() seems to not work (and is not in the API)

2 Likes

#3

Thanks, I’ve downloaded the project mentioned and can observe the proper behavior there. I’ll try to learn from it.

EDIT: I checked the tutorial but I’m not sure this method is compatible with rendercam. I still get a black screen.

0 Likes

#4

No, I didn’t made a PR here, however, @britzl said:

Did you find out who was making it?

2 Likes

#5

No idea. And the Slack history has long forgotten it :slight_smile:

1 Like