summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders/canvas.glsl
AgeCommit message (Collapse)Author
2016-09-07Rename misleading definePedro J. Estébanez
The macro USE_LIGHT_SHADOW_COLOR actually was being defined when the shader used SHADOW (the output shadow color), not the shadow color set for the light so it's better named USE_OUTPUT_SHADOW_COLOR. In 3D there's not that difference but renaming as well for consistency.
2016-01-02Ability to use opacity on distance field textures, fixes #2148Juan Linietsky
2015-12-08-New mask mode for lights, makes using masks MUCH easier.Juan Linietsky
2015-06-24ability to change shadow color in light2dJuan Linietsky
2015-04-27-made normalmaps easier in 2D, fixes #1467Juan Linietsky
2015-04-18-fixed relative path saving to file, fixes #1694Juan Linietsky
2015-04-03fix shadow issue with lights in mix mode, i think fixes #1611Juan Linietsky
2015-04-03Changes to LightJuan Linietsky
-=-=-=-=-=-=-=-= -Changed material unshaded property for an enum, which supports light-only shading -Added a "Mix" shading mode, useful for using lights as masks -Added energy parameter to Light2D
2015-04-02Beta1 Attempt #1Juan Linietsky
-=-==-=-=-=-=-=- -Small fixes in canvas item light shader -Fixed compilation in server target -Export for Android makes 32 bits display as default -changed version to 1.1beta1
2015-04-01fix shadow attenuationJuan Linietsky
2015-03-31fixes for light2d in androids that do not supportJuan Linietsky
read depth
2015-03-25fixes to shader to get most new demos working on mobilereduz
2015-03-21signed distance field font supportJuan Linietsky
2015-03-09lot of work on 2D lighting and isometric mapsJuan Linietsky
added a new demo, isometric_light that does full isometric sorting, lights, shadows, etc.
2015-03-02support for 2D shadow castersJuan Linietsky
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-02-18support for light and normal mapping in 2DJuan Linietsky
2015-01-20Visual Shader Editing for 2DJuan Linietsky
Editing 2D shaders with visual editor seems to work now.
2015-01-19Color Ramp and Curve Map added to visual shader editing.Juan Linietsky
Added Color Ramp and Curve Map to shader nodes. Fixed an issue that crashed Godot Editor right when opened.
2015-01-13-begin work on unidirectional collision detectionJuan Linietsky
-fixed performance issue in new 2D engine -texscreen() working in shader 2D
2015-01-12-Initial working(?) implementation of shaders for 2D. Lighting still not ↵Juan Linietsky
there though. Check for reference: https://github.com/okamstudio/godot/wiki/shader
2015-01-11-Initial (untested) implementation of 2D shaders. Probably broken, will be ↵Juan Linietsky
fixed later. -fixed issue of opacity not working
2014-05-24Making Godot Easier to Use..Juan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=-= -Auto indenter in code editor, this makes it much easier to paste external code. -Zoom in 2D viewport now uses the mouse pointer as reference. -Obscure hack to see where code/line of GDScript in C++ backtrace. -Fixed a bug where keys would get stuck on X11 if pressed simultaneously -Added Api on IP singleton to request local IPs. -Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky