Set Light

From Fancade Wiki
Revision as of 06:51, 26 May 2024 by -u ndefined- (talk | contribs) (Edit Image template properly)
Set Light
Set_Light.png
TypeScript block
ColliderNone
FolderGame
Ports
Inputs Before
Position
Rotation
Outputs After

Changes the direction that light falls onto your blocks. (Ignore the Position input, it's not currently used for anything.)

Notes

If your game is in a top-down view that doesn't need shadows, there are 2 ways to remove them:

  1. Set the light angle to the same as the camera angle. (There is some weird shadow bleed.)
  2. Set Camera with a very high Y position if your game is top-down; otherwise, move it opposite the direction it's facing.
Set_Light_remove_shadows.jpg

(From Tip-of-the-day, provided by Potato Chan.)