aboutsummaryrefslogtreecommitdiff
path: root/servers/visual
Commit message (Collapse)AuthorAgeFilesLines
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* Merge pull request #6988 from RandomShaper/2.1Rémi Verschelde2016-11-022-66/+74
|\ | | | | Fix shader tokenizer/compiler reporting wrong error location (2.1)
| * Fix shader tokenizer/compiler reporting wrong error locationPedro J. Estébanez2016-10-302-66/+74
| | | | | | | | Raname shader tokenizer methods for clarity
* | Add/expose VisualServer::get_default_clear_color()Pedro J. Estébanez2016-10-313-0/+7
|/ | | | (cherry picked from commit 753ba67d653c65239f0549313f3cca3330fd27f9)
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-301-0/+2
| | | | | | Also switch existing shebangs to "better" /usr/bin/env python. (cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
* Mouse hotspot is not honored.Ovnuniarchos2016-09-181-2/+2
| | | | (cherry picked from commit 8fcd92c38af19ebfc637e7a0dc623371453d986c)
* Expose light shadow color to canvas item shadersPedro J. Estébanez2016-09-181-0/+1
| | | | (cherry picked from commit 09608876258ffa7d19be1fb887541f3798fa945e)
* Merge pull request #5533 from Hinsbart/cursor_atexJuan Linietsky2016-07-103-5/+13
|\ | | | | Can use AtlasTextures as custom mouse cursor.
| * Can use AtlasTextures as custom mouse cursor.Andreas Haas2016-07-033-5/+13
| | | | | | | | fixes #3957
* | Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-082-24/+0
|/ | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Drop fully commented-out filesRémi Verschelde2016-06-184-736/+0
| | | | Part of #5272
* Drop empty files that are not used anywhereRémi Verschelde2016-06-181-1/+1
| | | | Part of #5272
* Add texture region support for stylebox renderGeequlim2016-06-056-8/+9
|
* Changed import workflowJuan Linietsky2016-05-274-6/+40
| | | | | | | | | | | | | | | | -Rearrange favorites in fs dock with drag and drop -Removed import -> sub-scene, moved to scenetree contextual menu -Removed import -> re-import , moved and integrated to FS dock -Added ability in FS dock to re-import more than one resource simultaneously -Added ability to drag from native filesystem explorer to Godot, only works on Windows though -Removed scene reimport merge options, never worked well. Eventually merging materials should be re-added -Added ability to set custom root node type when importing scenes -Re-Import is now automatic, can be configured back to manual in editor settings -Added resource previews in property list for many resource types
* -Improve resource previewsJuan Linietsky2016-05-231-1/+4
| | | | -Also fixed draw_texture_rect() tile parameter
* remove trailing whitespaceHubert Jarosz2016-05-211-1/+1
|
* ability to shrink all images x2 on loadJuan Linietsky2016-05-045-1/+14
| | | | | this is for extreme cases when running on devices with very low video memory, so you can still retain compatibility.
* Merge pull request #3528 from SaracenOne/baked_light_realtime_colourizeRémi Verschelde2016-03-154-0/+81
|\ | | | | Ability to colourize baked lighting in real time.
| * Ability to colourize baked lighting in real time.Saracen2016-02-064-0/+81
| |
* | Fix 'FLAG_RECEIVE_SHADOWS' flag for GeometryInstances so that turning it off ↵Saracen2016-03-123-4/+4
| | | | | | | | now correctly disables shadows from affecting the instance.
* | fix six possible "divide by zero"Hubert Jarosz2016-03-091-3/+4
| |
* | remove trailing whitespaceHubert Jarosz2016-03-0911-471/+471
| |
* | Added extra controls to GeometryInstances to control how they should cast ↵Saracen2016-03-074-13/+45
| | | | | | | | | | | | | | shadows: double-sided and shadows only. Conflicts: servers/visual/visual_server_raster.h
* | refix particles3d issue, bringing down the amount limit to 1024Nuno Donato2016-02-161-1/+1
| |
* | * raised the max amount of particles to match the max number allowed in the ↵Nuno Donato2016-02-121-1/+1
|/ | | | inspector (prevents crash)
* Merge pull request #3184 from vnen/update-copyright-2016Juan Linietsky2016-01-0116-16/+16
|\ | | | | Update copyright to 2016 in headers
| * Update copyright to 2016 in headersGeorge Marques2016-01-0116-16/+16
| |
* | Make both lights and occluders stop working if hidden, fixes #2437Juan Linietsky2016-01-011-0/+2
|/
* -New mask mode for lights, makes using masks MUCH easier.Juan Linietsky2015-12-083-5/+50
|
* Merge pull request #2865 from hurikhan/pr_fix_2791Juan Linietsky2015-12-081-3/+11
|\ | | | | Added additional token checks for the shader if..else.. statement.
| * Added additional token checks for the shader if..else.. statement. Fixes ↵hurikhan2015-11-221-3/+11
| | | | | | | | issue #2791.
* | -several fixes to Android to work better on Tegra 3/4 devices, uses 16 bits ↵Juan Linietsky2015-12-021-0/+2
| | | | | | | | FBOs so all 2D shader effects should now work in every single Android device.
* | Bug Fix #2541: Shader language function validation logicAndrea Chua2015-11-271-1/+1
| | | | | | | | ensures that it finds the correct function to validate.
* | Merge branch 'master' of https://github.com/okamstudio/godot into shadow_colorSaracen2015-11-184-7/+2
|\| | | | | | | | | Conflicts: drivers/gles2/shader_compiler_gles2.cpp
| * Merge pull request #2707 from akien-mga/masterJuan Linietsky2015-11-181-2/+0
| |\ | | | | | | Cosmetic fixes to SCons buildsystem
| | * Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-2/+0
| | | | | | | | | | | | | | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
| * | Merge pull request #2715 from SaracenOne/shader_fix_and_enhancementJuan Linietsky2015-11-181-0/+1
| |\ \ | | | | | | | | Write to 4-dimensional position access and shader graph code generation fix.
| | * | Added ability to write directly to 4-dimensional position vector from within ↵Saracen2015-11-021-0/+1
| | |/ | | | | | | | | | custom vertex shader code. Bugfixes to shader graph code generation concerning xforms.
| * | Merge pull request #2629 from firefly2442/float-to-boolJuan Linietsky2015-11-181-1/+1
| |\ \ | | | | | | | | float to bool variable type, fixes: #2478
| | * | float to bool variable type, fixes: #2478firefly24422015-10-181-1/+1
| | | |
| * | | Merge pull request #2632 from firefly2442/duplicate-inherited-varsJuan Linietsky2015-11-181-4/+0
| |\ \ \ | | |_|/ | |/| | remove child variable that is duplicated from parent class
| | * | remove child variable that is duplicated from parent classfirefly24422015-10-181-4/+0
| | |/
* | / New shader feature: change the colour of shadows on a per-material basis.Saracen2015-11-081-1/+2
|/ / | | | | | | | | Conflicts: drivers/gles2/shader_compiler_gles2.cpp
* / -Ability to debug video memory usageJuan Linietsky2015-10-215-1/+37
|/ | | | -Small fix to xml saver (swapping > and <)
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2015-10-171-2/+5
|\
| * Merge pull request #2479 from firefly2442/cppcheck-unusedvarsJuan Linietsky2015-10-171-1/+0
| |\ | | | | | | ran cppcheck, found unused variables
| | * ran cppcheck, found unused variablesfirefly24422015-09-161-1/+0
| | |
| * | nested clipping of canvas items now worksZher Huei Lee2015-10-051-1/+5
| | |
* | | misc cleanupJuan Linietsky2015-10-171-1/+1
|/ /
* | Ability to visually debug geometry visually:Juan Linietsky2015-09-205-0/+14
|\| | | | | | | | | | | | | -Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings