summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2018-07-16Finally figured out how to implement AnimatedTexture properly.Juan Linietsky
2018-07-14Visual Shaders are back.Juan Linietsky
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-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-08canvas_item_add_triangle_array bind fixupMarcelo Fernandez
2018-05-08Merge pull request #17559 from simedis/joint_motorsRémi Verschelde
Implemented interface for bullet linear motors
2018-05-07Merge pull request #17845 from JFonS/disable_spatial_shadowsJuan Linietsky
Added flag on SpatialMaterial to disable shadows
2018-05-07Merge pull request #18144 from ↵Juan Linietsky
Crazy-P/Resolves-crash-on-shape2D-culling-for-empty-Concave-shapes Resolves crash on shape2D culling for empty Concave shapes
2018-05-07Merge pull request #18533 from JFonS/fix_shader_compileJuan Linietsky
Fix vector reduction in shader language
2018-05-07Fix vector reduction in shader languageJFonS
2018-05-07Merge pull request #18495 from Zylann/partial_texture_updateJuan Linietsky
Added partial texture update to VisualServer
2018-05-07Merge pull request #18677 from BastiaanOlij/add_no_blendJuan Linietsky
Add no-blend canvas item render_mode
2018-05-07Add no-blend canvas item render_modeBastiaan Olij
2018-05-06Added option to viewport to keep linear colorBastiaan Olij
2018-05-03Skeleton for 2D WIPJuan Linietsky
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-04-29Added partial texture update to VisualServerMarc Gilleron
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-22Fixed 2D intersect_shape limiting broadphase resultsMichael
Physics2DDirectSpaceStateSW was applying the result limit to broadphase collision detection instead of narrow. This is inconsistent with its 3D variant, as well as the rest of the 2D direct space state functions. Broadphase is now limited by INTERSECTION_QUERY_MAX like everything else, and narrow phase is exited early when the result limit has been reached.
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-18Merge pull request #17391 from PJB3005/18-03-09-fix-canvas-light-shadersRémi Verschelde
Fixes canvas light shaders.
2018-04-17Fix typos in shader_language.cppPoommetee Ketson
2018-04-13Fixes canvas light shaders.Pieter-Jan Briers
Fixes #16904 Restore more out functionality, fix built-ins. Requested changes, I think?
2018-04-12Resolves crash on shape2D culling for empty Concave shapesCrazy-P
Fixes https://github.com/godotengine/godot/issues/17789
2018-04-11Update classref and docs, fix missing parameters' namePoommetee Ketson
2018-04-08Merge pull request #17151 from ShyRed/disabled_shapes_2dJuan Linietsky
Remove disabled shapes from physics 2D calculations
2018-04-08Merge pull request #17421 from Chaosus/fixshaderbugsJuan Linietsky
Fix few bugs in shader definitions
2018-04-08Merge pull request #17594 from ivodopiviz/float-overflowJuan Linietsky
Changed debug max distance to avoid overflow