How Do I Remove Shadows Completely In The Background?

Discussion in 'How Can I...?' started by Pathojen, May 16, 2020.

  1. Pathojen

    Pathojen Boxer

    Joined:
    Apr 15, 2020
    Messages:
    11
    Likes Received:
    2
    Hi, all! I'm working on a space avoidance game. Thing is, everything has a shadow, and the shadow reveals itself in the background. This gives everything the impression that the background is a big panel or set of panels- which it is. :) Is there a way to remove the shadows, like an option to set things as Unlit? Thanks again for the help. I tried adjusting the sun and setting the camera to orthographic so far. I also tried to reset the location of the backgrounds so the shadows would disappear below the background. While these ideas have not worked yet for me completely, so far the last thing I mentioned doing seems to be the best option so far. This, too, is not easy. I have to readjust the panels so they flawlessly fit together, which is another issue (I'm editing the Float template to suit my needs and have a space background that isn't doing well with different sized levels).
     
  2. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    inside your character nodes editor
    add script node, inside init function add this line...
    function init(){
    this.scene().setShadowsEnabled(false);
    }
     
  3. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    this will disable all shadows
    but if want to custom it
    every 3d model have these options
    zsv.png
    cast shadow means that object will have a shadow
    receive shadow is your case....
     
    aminee likes this.
  4. visionarymonkey

    visionarymonkey Boxer

    Joined:
    Apr 16, 2018
    Messages:
    96
    Likes Received:
    32
    If Im understanding the problem correctly... You can tun on and off cast and receive shadows on your objects as well as set the shadow intensity to zero on the light.
     
  5. John28

    John28 Boxer

    Joined:
    Feb 22, 2021
    Messages:
    1
    Likes Received:
    0
    Suggest me some solution I am also facing the same consequences.
     

Share This Page