playMaker

Author Topic: Light  (Read 3466 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Light
« on: April 08, 2014, 01:30:38 AM »
Hi!
Is it possible to make the level 100% dark? When I have no light in the scene, I can still see everything, but very dark.
So when I for example use a light, a flashlight for example, then it will light up an area in the scene.
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Light
« Reply #1 on: April 08, 2014, 07:52:34 AM »
Hi,

 yep, it's possible. It's more a unity thing tho, something you can experiment without even playing your scene, and once you get it right, implement some light switching and intensity changes during your game.

bye,

 Jean

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Light
« Reply #2 on: April 08, 2014, 11:33:38 AM »
Ok! But how can I do it?
I can't just use directional light.
It will not be totally dark.
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Light
« Reply #3 on: April 08, 2014, 11:40:35 AM »
You can use any light type.

https://docs.unity3d.com/Documentation/Components/class-Light.html

There is Directional, Point, Spot, and Area.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Light
« Reply #4 on: April 08, 2014, 12:48:26 PM »
Ok, but how can I get it totally 100% dark, so I can't even see the platforms or the character? For example if I enter a dark room, and I can't see anything, so I need to turn on the light.
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Light
« Reply #5 on: April 08, 2014, 12:54:29 PM »
just dont put any lights in the room, and make sure your ambient light is completely black.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Light
« Reply #6 on: April 08, 2014, 03:37:42 PM »
Thank you! :)
And I also need a black background. Then it's totally dark. :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Light
« Reply #7 on: April 08, 2014, 03:41:34 PM »
Yup, if you're still wanting even more goth turbo-blackness you can use post effects to crank up the contrast levels if you have Pro. Dropping the ambient light and removing lights from the scene should technically be flat black though.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Light
« Reply #8 on: April 08, 2014, 03:48:17 PM »
I don't have pro yet. It's so expensive. But someday I'm going to buy it. :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Light
« Reply #9 on: April 09, 2014, 07:21:34 AM »
Hi,

 It's all totally possible with Unity indie.

I can confirm:

-- ambient light to 0
-- no lights in the scene
-- camera background set to black

it's 100% dark, nothing can be seen ( unless you have shaders with self illuminations, so be careful, if you have UI stuff from thirdparty, they may still show up).

Bye,

 Jean