72ae89c5aa
-Object Manipulator Gizmo keeps proper scale in all windows and projections, (configurable on settings too). -Manipulator gizmos for other objects (camera, shapes, etc) massively improved and bug-fixed. -Manipulator gizmos are different for edited object and other objects. -Properly highlight manipulator gizmo handles when hovered. -Fixed bugs in fragment program when using more than 1 light together. -Reload png/jpg files automatically in editor if edited externally. -Added 4-stages Parallel Split Shadow Mapping, to improve shadow quality in large scenarios -Added PCF13 to improve smoothness of shadow borders -General optimization of directional light shadow mapping for Orthogonal,PSM and PSSM. -Fixed normal mapping when importing DAE files, works nicely now.
13 lines
443 B
C++
13 lines
443 B
C++
|
|
#include "global_defaults.h"
|
|
#include "globals.h"
|
|
|
|
|
|
void register_android_global_defaults() {
|
|
|
|
GLOBAL_DEF("rasterizer.Android/use_fragment_lighting",false);
|
|
GLOBAL_DEF("display.Android/driver","GLES2");
|
|
// GLOBAL_DEF("rasterizer.Android/trilinear_mipmap_filter",false);
|
|
|
|
Globals::get_singleton()->set_custom_property_info("display.Android/driver",PropertyInfo(Variant::STRING,"display.Android/driver",PROPERTY_HINT_ENUM,"GLES1,GLES2"));
|
|
}
|