summaryrefslogtreecommitdiff
path: root/drivers/gles2
AgeCommit message (Collapse)Author
2018-11-27GLES2: clear color on scene renderkhairul169
2018-11-23Prevent GLAPIENTRY redefine in rasterizer, now included in glad.hRémi Verschelde
We otherwise had conflicting defines since 1a41daf3.
2018-11-19Fixed how floats are printed to the GLSL shader, closes #19803Juan Linietsky
2018-11-19Do not draw particles if they are not processing at all, fixes #19507Juan Linietsky
2018-11-18Merge pull request #23742 from JFonS/fix_23698Rémi Verschelde
Use hint_color when getting shader default params
2018-11-17Removed unnecessary assignmentsWilson E. Alvarez
2018-11-16Ensure environment radiance is not used on refprobe interiors, fixes #17868Juan Linietsky
2018-11-16Removed unnecesary normal multiplication (only culling was really needed), ↵Juan Linietsky
fixes #17776
2018-11-16Use hint_color when getting shader default paramsJFonS
2018-11-14Do not error on empty shader, just treat it as invalid by default. Fixes #15998.Juan Linietsky
2018-11-14Merge pull request #23248 from dlasalle/fogJuan Linietsky
Add parameters for fog end depth and use alpha as density.
2018-11-14Cleaned up and fixed the base_changed function in rasterizers, also fixes #15617Juan Linietsky
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-11-12Merge pull request #22639 from tagcup/optRémi Verschelde
Avoid some unnecessary calculations in scene.glsl.
2018-11-12Merge pull request #23254 from ibrahn/gles2-var-init-cleanupRémi Verschelde
Cleaning up some uninitialised variables in GLES2 stuff.
2018-11-10Was missing calling _mkid() in shader_gles2.cpp, regarding fix for #12880Juan Linietsky
2018-11-10Avoid double underscore from breaking glsl compiler, fixes #12880Juan Linietsky
2018-11-05Merge pull request #23502 from Rubonnek/simplified-logicRémi Verschelde
Simplified boolean logic in GLES2/3 rasterizers
2018-11-04Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS
Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
2018-11-04Simplified boolean logic in GLES2/3 rasterizersWilson E. Alvarez
2018-11-02Cleaning up some uninitialised variables in GLES2 stuff.Ibrahn Sahir
Initialise keep_original_textures and use_fast_texture_filter in storage config. Removed any other variables from storage config that were both unused and uninitialised to avoid future confusion (if they're needed it's easier to spot an uninitialised variable problem in a PR that adds the variable again rather than just uses it). Copied storage Texture struct constructor from GLES3 implementation (except where variables were already initialised with different values). Gives us sensible tested defaults for previously uninitialised vars. Added assignments for state.current_main_tex based on same in GLES3.
2018-11-01Merge pull request #23125 from JFonS/fix_texture_get_dataJuan Linietsky
Implement rasterizer texture_get_data on OpenGL ES
2018-11-01Implement rasterizer texture_get_data on OpenGL ESJFonS
2018-10-28Fix GLES2 automatic texture lookup in canvasPedro J. Estébanez
After this change the color will only be fetched if the shader code doesn't use it explicitly, to match the GLES3 behaviour. Fixes #23179.
2018-10-25GLES2: Fix shadows shader error for SpotLightsRémi Verschelde
Fixes #23268.
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-24Merge pull request #23186 from BastiaanOlij/fix_gles2_stereo_skyRémi Verschelde
Fixed stereoscopic (VR) sky in GLES2
2018-10-24GLES2: Fix typo in tangent calculationRémi Verschelde
Thanks @tagcup for the find. Fixes #23234.
2018-10-21Fixed stereoscopic (VR) sky in GLES2Bastiaan Olij
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-13Removed duplication of include(s):M. Huri
- "collision_solver_sat.h". - "shaders/copy.glsl.gen.h"
2018-10-11Avoid some unnecessary calculations in scene.glsl.Ferenc Arn
2018-10-06Format GLES2 scene.glslLeon Krause
2018-10-06Fix GLES2 uniform precisionLeon Krause
2018-10-04Fix some OSX and iOS Clang warningsRémi Verschelde
Fixes the following XCode 9.4.1 warnings: ``` core/os/memory.cpp:175:13: warning: unused variable 's' [-Wunused-variable] drivers/coremidi/core_midi.cpp:68:14: warning: comparison between NULL and non-pointer ('MIDIEndpointRef' (aka 'unsigned int') and NULL) [-Wnull-arithmetic] drivers/gles2/rasterizer_gles2.cpp:77:24: warning: unused function '_gl_debug_print' [-Wunused-function,34] drivers/unix/thread_posix.cpp:106:12: warning: unused variable 'running_thread' [-Wunused-variable,34] modules/gdnative/nativescript/nativescript.h:371:16: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions] platform/iphone/gl_view.mm:56:14: warning: unused variable 'video_previous_volume' [-Wunused-variable,34] platform/iphone/gl_view.mm:251:12: warning: unused function 'get_first_id' [-Wunused-function,34] platform/iphone/main.m:45:15: warning: unused variable 'app' [-Wunused-variable,34] platform/osx/os_osx.mm:79:15: warning: unused function 'convertRectToBacking' [-Wunused-function] ```
2018-10-03Fix #22591: shader failed to compile when shadow enabled because of ↵Jean-François Michaud
incompatible assignment of vec3 to a vec4.
2018-10-02vertex lit optimization for fog.Juan Linietsky
2018-10-02Implemented FOG support in GLES2.Juan Linietsky
2018-10-02Merge pull request #22627 from akien-mga/gles2-pixel-snapRémi Verschelde
GLES2: Implement pixel snap 2D option
2018-10-02Bring accidentally commented out lines back.Ferenc Arn
Oversight by me in #22483. GLES2 doesn't seem to be supporting anisotropy at the moment anyway ---in case it gets revived.
2018-10-02Disable GLES2 debugging on iOS, fixes buildRémi Verschelde
Could be readded by someone who knows how to access an API similar to EGL on iOS.
2018-10-02GLES2: Implement pixel snap 2D optionRémi Verschelde
2018-10-02Merge pull request #22455 from Calinou/reverse-cull-face-update-lightRémi Verschelde
Update lights when their reverse cull face mode is toggled
2018-10-02Merge pull request #22483 from tagcup/fresnelRémi Verschelde
Restore the Fresnel term in the BRDF.
2018-10-02Merge pull request #22562 from muiroc/gles2_canvas_skip_transformRémi Verschelde
Uses skip_vertex_transform in GLES2 canvas shader
2018-10-02Merge pull request #22574 from BastiaanOlij/mobile_vr_gles2Rémi Verschelde
Moving lens distortion shader into drivers and adding GLES2 support
2018-10-02Many more fixes for GLES2 mobile export. Also added ability to turn on ↵Juan Linietsky
OpenGL debugging on Android export.
2018-10-02Moving lens distortion shader into drivers and adding GLES2 supportBastiaan Olij
2018-10-02Style: Run clang-format on shaders againRémi Verschelde