2D Dynamic Lights and Shadows Effects Optimized For Mobile - Martin Ysa


2DDL Pro 1.4.1 has been released:
What’s new?

  • Sorting Order Fixed.

  • Light Intensity Added.

  • New handles in editor.

  • Bug report window module.

  • Add-ons.

  • Custom property drawers included.

  • New look on inspector.

Types of 2D illumination you can get with 2DDL PRO:

GAMES CURRENTLY USING 2DDL PRO

WebGL Examples | Free vs Pro | Documentation | FAQ’s | Contact Us

Remember games like “Thomas was alone”, “Phases” from ketchapp, and “Super meat Boy”?.

Well, you can see that the shadows effects looks really cool in these games.

You can have it in their own games too !!

Mobile Friendly !
https://www.youtube.com/watch?v=7hu-ozFqqOA

Enjoy and Review if you like our plug-in.
Thanks :slight_smile:
Martin.

I will give away vouchers for the first 3 to make a reply to this thread :wink:

Looks good!! Any chance of a demo within a scene with many objects, just a functional scene to see how it behaves since it is very difficult to judge it with only a couple of objects. Thanks.

Looks very cool, and the price is awesome too.

That’s really neat. Does it use order in layers or does it automatically cast shadows beneath the sprites?

Awesome! Would love to use this in our game!

Yes, try it by yourself with a free versión . https://www.assetstore.unity3d.com/en/#!/content/24083

Iamsam need your email adreess for send you a vaucher code .

b4c5p4c3 need your email adreess for send you a vaucher code .

uses a circular light. sprites only stop the passage thereof. that creates the shadow effect. All in z =0

Hey, thanks for the voucher. You could PM them or I will send you my email address in a PM.

It seems that you are using raycasts to detect the objects around the light, did you come across any performance issues with lots of dynamic objects? I would understand for static objects that there is no considerable performance hit, however in most of our games we have always had a performance hit whenever it came to using raycasts and dynamic objects. Thanks.

that’s! raycast is useful for check every vertice of each shape. of course if you use static is less expensive on calculus side. only calculate light mesh in start scene. but in dynamic object is other story. the key is how long has the ray, the way is used to sort the vertices and how many rays the light has. i cast 1 ray for vertice except in endpoints that have 2 rays

I’m testing it and i’m liking it very much. When i have more time i’ll test it more deeply.

Version 1.0.5 has been released!

Available in AssetStore.

What´s new in this version ?

— Add a Layer property for interact with casters

— Fix raycast collider with non shadow caster layer mask

— Extension of Documentation.

— Z-Fighting Solved! (notable on iOS devices).

— Add VertexWorking public property for tracking how vertex are working in scene

— 2.MultipleLights enhanced scene ->add vertex used and how many 2DLights in scene

— Enhanced algorythm for object detection . Scene 3.CoverExplosion(shockwave)

Available in AssetStore.

Here is the Link in Asset Store : Unity Asset Store - The Best Assets for Game Making

Hey there, nice work, is it possible to define “finite” shadows? Like, selecting a height property for a sprite and the shadow ending at some point?

you can manage the branch of light, with radius and offset material, and with that can achieve this effect.


Huge Update!
Version 1.1.0 has been released!

Available in AssetStore.
What´s new ?

— 2DLight Now Support ROTATION! implemented by Grit Schuster.
— 2DLight Now Support Angle restriction, as CONE OF SIGHT! implemented by Grit Schuster

— More accurate caster works.
— Circle caster added!
for me, OPTIMIZATION FIRST !:
— Choice optimization params.
— Intellider Circle → Smart optimizer collider for Circles!
— Intellider Convex → Smart optimizer collider for Convex shapes!
More Scenes:
— Light Car Scene Added!
— Radar scene Added!
Bonus:
— TimerClass included! Unity easy timer integration (no live in assetstore)

Download the NEW VERSION

********2D Dynamic Lights and Shadows ENHANCED FOR UNITY 5 ********
What’s new in version 1.1.1:
Support for UNITY 5 !!
2D Light WebGL Build
TagLayerClass added. (Layer Building)
layerMask bug fixed.

Been playing around with your plugin and it has most of what we need.

Just one question, can you blur the edges of the spotlight cone? I did not see it in the documentation, but may have missed it.
It will also look nice for the car headlights in your demo.