How to use Advanced Lighting



  • 0_1517404978909_e9821d47-5fa7-4428-b84a-8c3a4ba10761-image.png

    How to use Advanecd Lighting with 2DxFX

    To use light with 2DxFX is pretty simple.

    Select A gameobject with your sprite using Sprite Renderer from Unity

    0_1517405125338_1b192484-c91f-44bd-a94c-b35d803f330d-image.png

    Select 2DxFX

    0_1517405193838_2380074f-62e6-4f45-ba03-baf0a157f4df-image.png

    Advanced Lighting and select Normal

    0_1517405201318_6c7d6746-1f79-4b49-a1a2-5069abff2e21-image.png

    Now 2DxFX is setup on the gameobject

    0_1517405173505_f0f95062-fe30-4bc3-a09f-02e6a2e994d4-image.png

    You sprite can now cast and received shadow and light

    0_1517405515892_f38b0c5a-b1ed-4a25-b9f6-58456b213c8f-image.png

    If you add a spot, the shadow will also work.
    The spot is the same spot use for 3D by Unity. It's the same lighting system.

    0_1517405527190_168690de-cdbd-4f20-8829-a8b114a810fc-image.png

    If we add two spot, both work great

    0_1517405538824_781ff636-30b7-46f3-92bf-a9d5cf6a51cd-image.png

    As you can see, we use the standard light system, it's really simple to use.

    0_1517405554220_809af465-8a56-4c29-b4c9-6f94f4dfac1f-image.png

    Hope it's help
    -Vetasoft



  • This is great!
    I am very interested in more of these tips!
    Cheers!



  • This post is deleted!

 

Looks like your connection to Vetasoft Assets was lost, please wait while we try to reconnect.