Light2D | 2D shader-based lighting system for Unity3D | Graphics library
kandi X-RAY | Light2D Summary
kandi X-RAY | Light2D Summary
2D lighting system that performs computations on the GPU. This allows to get better lighting quality and use more lights, compared to some other 2D lighting systems.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Light2D
Light2D Key Features
Light2D Examples and Code Snippets
Community Discussions
Trending Discussions on Light2D
QUESTION
I have WeaponController class and TeslaGunController and ShotGunController classes, inherited from it. In WeaponController class I have methods Shoot() and Reload() which are setting audio clips to play:
...ANSWER
Answered 2020-Jun-05 at 11:03Resolved. I had two scripts added to TeslaGun gameobject. And the second one had none public audio clip attached.
QUESTION
Hello people i'm trying to save a field of a custom editor value is set in a combo box, i get a code from internet but i realized that the changes maded in the combo box doesn't save at all, i tried use the "Save" button, i tried to make serializedfield, but i'm new in C# and unity. Thanks for visiting have a nice day.
...ANSWER
Answered 2020-Apr-15 at 22:16If you want to update properties from a custom editor you'll want to use SerializedProperty
. Like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Light2D
Create three layers: light sources, ambient light, light obstacles. You could do this in Edit -> Project Settings -> Tags and layers.
Press GameObject / Light2D / Lighting system. Enter layers you created in previous step.
!!!ONLY FOR 2D TOLLKIT!!! Press GameObject -> Light2D -> Enable 2DTK Support.
Adjust settings in LightingSystem script attached to main camera.
Add light sources, light obstacles and ambient light to scene.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page