summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_scene_gles2.cpp
AgeCommit message (Collapse)Author
2020-04-07Avoid material rebinds when using skeletonsclayjohn
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-12doc: Sync classref with current sourceRémi Verschelde
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-11Refactored RID/RID_Owner to always use O(1) allocation.Juan Linietsky
* Implements a growing chunked allocator * Removed redudant methods get and getptr, only getornull is supported now.
2020-01-31Add support for 3D textures to GLES2clayjohn
2020-01-22Merge pull request #35406 from lawnjelly/ortho-shadowRémi Verschelde
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22Change CameraMatrix::get_viewport_size to get_viewport_half_extentslawnjelly
Fixes #26637. Fixes #19900. The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2. Code which called this function has also been modified accordingly. This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width. It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-21Remove unused #if 0'ed codeRémi Verschelde
2020-01-16Merge pull request #35176 from clayjohn/csg-crashRémi Verschelde
Fix light related crashes
2020-01-15fix light related crashesclayjohn
2020-01-15Add background mode keep to GLES2clayjohn
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-15fix shadow color in GLES2 by making sRGBclayjohn
2019-11-29Removed duplicated conditional in GLES2PouleyKetchoupp
2019-11-19Merge pull request #33527 from clayjohn/GLES2-bufferdata_optimizationRémi Verschelde
Improve glBufferSubData usage where safe
2019-11-17Fix negative light flickeringclayjohn
2019-11-11Improve glBufferSubData usage where safeclayjohn
2019-11-08Make MSAA work with external textureBastiaan Olij
2019-10-26Fix shadow mapping with RGBA textures on htmlclayjohn
2019-10-07Merge pull request #32613 from clayjohn/GLES2-canvas-bg-modeRémi Verschelde
Add canvas background mode to GLES2
2019-10-06add canvas background mode to GLES2clayjohn
2019-10-06fix current issues with post-processingclayjohn
2019-10-02Fix reflection probe crash in GLES2 with post-processingclayjohn
2019-09-30Implement DOF blur, Glow, and BCS in GLES2clayjohn
2019-09-23Merge pull request #32275 from godotengine/skin_supportRémi Verschelde
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-22Fix GLES2 skinning where VERTEX_TEXTURE not supportedlawnjelly
Although the backup USE_SKELETON_SOFTWARE skinning path is currently used when float texture is not supported, the default skinning path still fails when float texture is supported but GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is 0, i.e. the device cannot read from texture during vertex shader. This PR adds the logic to activate the SKELETON_SOFTWARE path if either of these cases occur, preventing crashes on devices which have this combination of features.
2019-09-18Added skin support and simplified APIs to override bone position.Juan Linietsky
2019-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-07-30allow omnilights and spotlights to use negative in GLES2clayjohn
2019-07-21fix gles2 shadow transparency bugclayjohn
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-14Fix inconsistent lighting in GLES2SonerSound
Issue was possibily being caused by duplicating a light even when that light was not in the render_light_instances array.
2019-06-19Made constants fully upper case in camera serverBastiaan Olij
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-04use def ANDROID_ENABLED so android features are not included in javascript ↵clayjohn
builds
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-05-30Merge pull request #29236 from clayjohn/gles2-mirrorRémi Verschelde
Separate culling state management from material state in GLES2
2019-05-29Fix -Werror=maybe-uninitialized in GLES2 on release buildsRémi Verschelde
Issue introduced in #28796.
2019-05-27separate culling state management from materialclayjohn
2019-05-24Merge pull request #29132 from clayjohn/sort_depth_fixRémi Verschelde
Fix "no depth test" and render_priority sorting
2019-05-24Merge pull request #28796 from clayjohn/GLES2-optimizationRémi Verschelde
GLES2: Allow Viewports to render directly to screen
2019-05-23fix no depth test and render_priority sortingclayjohn
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-14Merge pull request #27898 from clayjohn/metallic_radianceRémi Verschelde
Added radiance when using clear color
2019-05-13Implement ability to render viewports directly to screenclayjohn