forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to enable high precision float in GLES2
An additional project setting under rendering/gles2/compatibility with the name enable_high_float.Android is introduced that enables #define USE_HIGHP_PRECISION in GLES2 shader on Android when it is supported by the shader compiler. This fixes godotengine#33633 and godotengine#32813 and also GodotVR/godot_oculus_mobile#60 and GodotVR/godot_oculus_mobile#68 on devices that support the highp (high precision) modifier.
- Loading branch information
1 parent
fe4aa39
commit efe6b50
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters