Is there a way to save as "image" (.png, .jpg, etc.) of a certain angle of a 3D model in Godot?

Just like we do it in Blender, where we have a model and then we go in “render mode”, and save the model as .png in a certain angle it was taken from the camera.
Does such feature also exist in Godot?

I think the viewport has the option to make screenshots. You would just have to save them in a file:

func _ready():
	await RenderingServer.frame_post_draw
	get_viewport().get_texture().get_image().save_png("user://Screenshot.png")

Sure, it’s very simple. Check out my video tutorial.

1 Like