Juan Linietsky
53e1694e1e
New option to send canvas to render buffer
...
allows to use 3D environment effects for post processing such as Glow,
Bloom, HDR, etc. in 2D.
2015-03-16 01:14:59 -03:00
Matthew Hughes
1200689245
Update file_access_windows.cpp for mingw cross-compile
...
Cross compiling on linux failed on this file. Changing case of the windows.h and shlwapi.h allows mingw to find these headers but setting WINVER 0x0500 is needed for the compiler to find ReplaceFileW
2015-03-15 09:43:13 -05:00
Juan Linietsky
650e13f3cd
back buffer copy node, to improve on texscreen()
...
back buffer copy node and respective demo
2015-03-12 01:05:50 -03:00
Juan Linietsky
91744e9ed3
New Demo, Screen Space Shaders
...
-Fixes to screen space shaders.
-Fixes to isometric light demo.
2015-03-10 00:53:50 -03:00
Juan Linietsky
09489e3a78
lot of work on 2D lighting and isometric maps
...
added a new demo, isometric_light that does full isometric sorting,
lights, shadows, etc.
2015-03-09 02:34:56 -03:00
Juan Linietsky
a0ee5cc353
time was not being set properly with the rest of the uniforms.
2015-03-02 19:21:46 -03:00
Juan Linietsky
a1f715a4da
support for 2D shadow casters
...
Added support for 2D shadow casters.
*DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a
CanvasItem and pull this, you will lose them. Shaders now work through a
2D material system similar to 3D. If you don't want to lose the 2D
shader code, save the shader as a .shd, then create a material in
CanvasItem and re-assign the shader.
2015-03-02 00:54:43 -03:00
romulox_x
320700fc92
changed the blending function when using a transparent render target so that it blends properly
2015-03-01 15:44:02 -08:00
romulox_x
2ac767b1f5
changed viewport clearing to use the alpha value of the clear color, and made the transparent bg option of viewport force a clear color of 0,0,0,0
2015-02-21 13:57:12 -08:00
Juan Linietsky
1d7337ba10
Merge pull request #1369 from not-surt/tile_rotation
...
Tile Rotation
2015-02-21 15:37:02 -03:00
Juan Linietsky
5ef3f7392f
support for light and normal mapping in 2D
2015-02-18 19:40:02 -03:00
Carl Olsson
196185d0be
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
scene/2d/tile_map.cpp
2015-02-15 18:21:35 +10:00
Juan Linietsky
a49802ae33
-resolved shader set parameter bug, closes #1361
2015-02-14 14:54:58 -03:00
Carl Olsson
6a38ab1b43
Reorder tile transforms so transpose occurs before flips. Much more intuitive for flipping transposed tiles.
2015-02-13 10:56:53 +10:00
Carl Olsson
573ae5dd92
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
demos/2d/polygon_path_finder_demo/.fscache
2015-02-11 21:15:49 +10:00
Juan Linietsky
e74982e55e
fixes to skinned buffer
...
should avoid targets with large objects using morphs
also skinned buffer size is properly customizable on project settings.
2015-02-10 19:14:22 -03:00
Juan Linietsky
a34d27438c
ability to customize max render elements
...
should close #1339
2015-02-09 22:18:44 -03:00
Juan Linietsky
e7918ebbf2
Merge pull request #1281 from sanikoyes/Pr-fix-rtt-filters
...
Pr-fix-rtt-filters
2015-02-09 21:24:09 -03:00
Carl Olsson
ee44664b2a
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-02 21:34:47 +10:00
Carl Olsson
c5bf43f6eb
Working TileMap tile transpose transform.
2015-02-02 21:27:48 +10:00
sambler
73ca870c81
fix build on freebsd
...
Add some needed includes
Provide freebsd variation of get_executable_path
Provide variation of execv so that either full path
or appname to be found within $PATH can be used
2015-01-27 19:31:37 +10:30
Juan Linietsky
c6eabbbec5
fixed world vertex issues in canvas item shader
2015-01-21 00:57:37 -03:00
Juan Linietsky
14ade5500f
Fixed bug in 3D material
...
textures that failed to load should now load again properly
2015-01-20 23:58:47 -03:00
Juan Linietsky
da0d4e4dea
Fixes to texscreen, fixes to white testcube
2015-01-20 22:31:32 -03:00
Juan Linietsky
11c1756257
Visual Shader Editing for 2D
...
Editing 2D shaders with visual editor seems to work now.
2015-01-20 20:36:25 -03:00
sanikoyes
75be78b370
Fix filter options not works in render target texture
2015-01-20 20:01:58 +08:00
Juan Linietsky
a0511ed59a
Color Ramp and Curve Map added to visual shader editing.
...
Added Color Ramp and Curve Map to shader nodes.
Fixed an issue that crashed Godot Editor right when opened.
2015-01-19 02:39:58 -03:00
sanikoyes
ffe53061cd
Add missing shader function: refract
2015-01-14 00:28:18 +08:00
Juan Linietsky
2ef5a342e3
-begin work on unidirectional collision detection
...
-fixed performance issue in new 2D engine
-texscreen() working in shader 2D
2015-01-13 10:49:26 -03:00
Juan Linietsky
30d3658110
-fixed issue with shader not being reset on layers, closes #1199
...
-ability for shader to use parent shader and params, closes #1198
2015-01-12 20:44:02 -03:00
Juan Linietsky
544ce2a1db
-Initial working(?) implementation of shaders for 2D. Lighting still not there though.
...
Check for reference:
https://github.com/okamstudio/godot/wiki/shader
2015-01-12 10:19:09 -03:00
reduz
f3dc51fc69
2D shader progress
2015-01-11 20:52:42 -03:00
Juan Linietsky
66afddb3e8
-Initial (untested) implementation of 2D shaders. Probably broken, will be fixed later.
...
-fixed issue of opacity not working
2015-01-11 11:43:31 -03:00
Juan Linietsky
d30f4e52f6
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-10 17:37:56 -03:00
Juan Linietsky
8997084831
2D Rewrite Step [1]
...
-=-=-=-=-=-=-=-=-=-
-Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future).
-Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order)
-Removed OpenGL ES 1.x support. Good riddance!
2015-01-10 17:35:26 -03:00
Dana Olson
88591af4ac
fix saving texture flags to *.png.flags file, closes #399
2015-01-10 02:37:00 -05:00
Rhody Lugo
d046bd88ad
OS X: Add keyboard layout detection and fix build
2015-01-08 02:56:27 -04:30
Juan Linietsky
78f4b93703
Fixes to GraphEdit:
...
-Working area is bigger now, solves #1148
-Using Position now works, fixes #1141
-RGB ops now work, fixes #1139
-Missing bindings to GraphEdit and GraphNode added
-Shader Graph Editor Shows errors on cyclic links and missing connections
2015-01-08 00:41:34 -03:00
Juan Linietsky
7a0e4c822c
-Visual Shader Editing Finished, PLEASE TEST!
2015-01-07 01:45:46 -03:00
Juan Linietsky
ddf7457894
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-03 16:53:39 -03:00
Juan Linietsky
fbdd925d9b
-Work in progress visual shader editor *DOES NOT WORK YET*
2015-01-03 16:52:37 -03:00
Juan Linietsky
6b5b95bb4e
-added new code completion guess locations, closes #1032
...
-moved commandline fix to mingw-only, should fix #1064
2015-01-03 13:03:13 -03:00
Juan Linietsky
cef3bd026f
-fixed issue with denormals in half precission, closes #1073
...
-added h_offset and v_offset to 3D Camera, should allow to do the same as in #1102
2015-01-03 11:06:53 -03:00
Juan Linietsky
d722537154
-proper minimum size computation for TabContainer
2015-01-02 22:34:22 -03:00
Juan Linietsky
7a5a4d135e
Merge pull request #998 from sanikoyes/Pr-fix-gles2-canvas_draw_polygon
...
Fix RasterizerGLES2::canvas_draw_polygon can't work correct at some devi...
2015-01-02 18:07:49 -03:00
Juan Linietsky
78e7777cf5
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
modules/gdscript/gd_editor.cpp
Improved code completion for InputEvent (shows members by type)
2014-12-21 11:46:28 -03:00
Juan Linietsky
f7f197c409
-ability to set default textures in shader (needed for visual shader editing)
...
-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
2014-12-21 11:42:44 -03:00
Juan Linietsky
a36a774897
Fixes
...
-=-=-=
-Added missing quaternion constructor
-code completion fixes
-winrt fixes
2014-12-20 15:30:06 -03:00
Alexander Stillich
f2843209a5
Implemented PulseAudio backend and fixed audio driver selection on X11
2014-12-19 13:44:34 +01:00
sanikoyes
0b7a5b8425
Fix RasterizerGLES2::canvas_draw_polygon can't work correct at some devices(like Sumsung Note2)
...
in some devices, gpu doe's not support uint(32bit) indies
2014-12-19 13:08:48 +08:00