You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system or device - Godot version: Linux, Godot 3.0 (master)
Issue description:
Getting a screen capture from any viewport results in empty data.
Steps to reproduce:
get_viewport().queue_screen_capture()
yield(get_tree(),"idle_frame")
yield(get_tree(),"idle_frame")
var i = get_viewport().get_screen_capture()
i.save_png("user://cap.png")
The text was updated successfully, but these errors were encountered:
Haven't tryed from gdscript, but you should be able to call 'viewport.get_texture().get_data()' to get a reference to Image wich you can save. Also calling 'image.lock()' and image.unlock()' should let you get (and maybe set?) pixels.
Operating system or device - Godot version: Linux, Godot 3.0 (master)
Issue description:
Getting a screen capture from any viewport results in empty data.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: