summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2018-07-26doc: Sync classref with current sourceRémi Verschelde
Fix various missing arguments in bindings.
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-26allow comments and whitespace before shader_type declarationTodd Ross
2018-07-25Merge pull request #18368 from Gamblify/RasterizerEngineSyncRémi Verschelde
sync rasterizers with engine
2018-07-25Added conversions between matrixes in shadersChaosus
2018-07-25Merge pull request #20404 from TigerCaldwell/masterRémi Verschelde
Ensured consistency between RigidBody, PhysicsDirectBodyState, PhysicsServers and their 2D counterparts
2018-07-24Modified RigidBody, PhysicsDirectBodyState, PhysicsServer, and their ↵Tiger Caldwell
respective 2D counterparts to be more consistent and to include more useful methods. RigidBody: - Added add_central_force - Added add_force - Added add_torque - Added apply_central_impulse RigidBody2D: - Added add_central_force - Added add_torque - Added apply_central_impulse - Added apply_torque_impulse PhysicsDirectBodyState: - Added apply_central_impulse Physics2DDirectBodyState: - Added add_central_force - Added add_force - Added add_torque - Added apply_central_impulse - Added apply_impulse - Added apply_torque_impulse PhysicsServer: - Added body_add_force - Added body_add_torque - Added body_add_central_force - Added body_apply_central_impulse Physics2DServer: - Added body_add_torque - Added body_add_central_force - Added body_apply_central_impulse - Added body_apply_torque_impulse Also fixed some small bugs along the way
2018-07-24Removed unnecessary assignmentsWilson E. Alvarez
2018-07-23Merge pull request #12678 from AndreaCatania/softJuan Linietsky
Soft body
2018-07-23Implemented Soft bodyAndreaCatania
- Soft Body Physics node - Soft Body Rendering - Soft body Editor - Soft body importer
2018-07-23Fix issues with CPUParticles and related conversion from Particles. Closes ↵Juan Linietsky
#20126
2018-07-23Added some API to visual server so from control VRAM buffer is more easyAndreaCatania
2018-07-23Merge pull request #12403 from AndreaCatania/phymatJuan Linietsky
Physics material
2018-07-21-Fix disable_3d flagJuan Linietsky
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
2018-07-17Add disable ambient light flag to shaders and materialsAlex Roman
2018-07-17Add Audio Server profiling time to the profilerMarcelo Fernandez
2018-07-17Merge pull request #20215 from marcelofg55/audio_latencyMax Hilbrunner
Added Performance.AUDIO_OUTPUT_LATENCY
2018-07-17Merge pull request #20158 from Overblob/Fixed_shader_parsing_error_logRémi Verschelde
Fixed shader parsing error log
2018-07-17Further fixes to KinematicBody2D API, support for sync motion in moving objectsJuan Linietsky
2018-07-17Added Performance.AUDIO_OUTPUT_LATENCYMarcelo Fernandez
2018-07-16-Added support for raycast in KinematicBody2DJuan Linietsky
-Added support for snapping in KinematicBody2D
2018-07-16Finally figured out how to implement AnimatedTexture properly.Juan Linietsky
2018-07-14Visual Shaders are back.Juan Linietsky
2018-07-14Fixed error due to bad cursor handling when parsing shader codeOverblob
Fixed completion error log thrown on "no auto-completion found" for typings with no completion.
2018-07-12Merge pull request #20026 from taylorjoshuaw/fix-window-height-crashMax Hilbrunner
Temporary fix to issue #19628 and #19207
2018-07-12Merge pull request #19540 from muiroc/cylinderMax Hilbrunner
Cylinder resource and collision shape (bullet only)
2018-07-07Changed minimum visible viewport sizeJosh Taylor
When the viewport's size.y becomes lower than 2, the storage->frame.current_rt->effects.mip_maps[0].sizes Vector during rendering becomes empty, resulting in crashes in at least GLES3. This is a temporary fix to stop rendering a viewport when its size is below 2 rather than below 1.
2018-07-06Support for CPU based particles, which aids compatibility with OpenGL ES 2.0Juan Linietsky
2018-07-04Merge pull request #19786 from JFonS/correct_normal_scalingRémi Verschelde
Add render mode to ensure correct normals when using non-uniform scaling
2018-07-03Ensure, if a texture meant for a normal map is imported and size limit ↵Juan Linietsky
exists, that it's renormalized after resize.
2018-07-03Hacked around duplication bug. I think duplicate needs to be even smarter, ↵Juan Linietsky
maybe pass two bools? (containers and/or resources)
2018-07-02Added ability for SSAO to affect AO textures tooJuan Linietsky
2018-07-01added cylinder shape supportmuiroc
2018-06-29Merge pull request #19678 from vnen/remove-latency-printGeorge Marques
Remove audio latency print
2018-06-23Fix typo in y shiftBastiaan Olij
2018-06-21Add render mode to ensure correct normals when using non-uniform scalingJFonS
2018-06-20Remove audio latency printGeorge Marques
2018-06-15Removed unused AudioServer::update functionMarcelo Fernandez
2018-06-11Moved culling, updated lights and shadows into a prepare function so it is ↵Bastiaan Olij
only called once for stereo rendering
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky
2018-06-05Rasterizers are now in sync with engineGustav Lund
The rasterisers (both GLES3 and GLES2) were calculating their own frame delta time This fix lets the rasterizers get the frame delta through the draw call That way any regulations to the frame step from the main script will not cause particle systems to process at a different step than the rest of the Engine. Remove unused rasterizer storage variable frame.prev_tick variable were not used anywhere and has been removed
2018-06-01Fix return type of isnan and isinf in the shader languageOliver Rausch
2018-05-26Merge pull request #18349 from Gorgexpress/masterMax Hilbrunner
Fixed 2D intersect_shape limiting broadphase results
2018-05-25Expose methods area_set_area_monitor_callback and area_set_monitorable in ↵MrCdK
PhysicsServer and Physics2DServer
2018-05-16Merge pull request #18868 from bruvzg/clang_6_workaroundRémi Verschelde
Workaround for clang 6.0.0 / Xcode 9.3 release (-O3) build bug.
2018-05-16Fix bad operator check in `ShaderLanguage::_validate_assign`nemerle
2018-05-14Workaround for clang 6 bug.bruvzg
2018-05-11Implemented physics materialAndreaCatania
Hidden a function Fixed travis static check
2018-05-08canvas_item_add_triangle_array bind fixupMarcelo Fernandez