You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Begining of GLES3 renderer:
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include "io/resource_saver.h"
|
||||
|
||||
|
||||
|
||||
#if 0
|
||||
|
||||
|
||||
void BakedLightEditor::_end_baking() {
|
||||
@@ -145,7 +145,7 @@ void BakedLightEditor::_notification(int p_option) {
|
||||
|
||||
#if 1
|
||||
//debug
|
||||
Image img(baker->baked_octree_texture_w,baker->baked_octree_texture_h,0,Image::FORMAT_RGBA,octree_texture);
|
||||
Image img(baker->baked_octree_texture_w,baker->baked_octree_texture_h,0,Image::FORMAT_RGBA8,octree_texture);
|
||||
Ref<ImageTexture> it = memnew( ImageTexture );
|
||||
it->create_from_image(img);
|
||||
ResourceSaver::save("baked_octree.png",it);
|
||||
@@ -373,3 +373,4 @@ BakedLightEditorPlugin::~BakedLightEditorPlugin()
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user