threejs


WebGL and Three JS dedicated forum. Here we can discuss about Three JS 3D library.
 
HomeCalendarGalleryFAQSearchRegisterLog in

Share | 
 

 Foolish question about light

View previous topic View next topic Go down 
AuthorMessage
WebForce

avatar

Posts : 22
Points : 30
Reputation : 0
Join date : 2017-02-07

PostSubject: Foolish question about light   Tue Feb 07, 2017 10:08 am

I know this is a very foolish question, but I see few examples in three.js where they created sunlight using a directlight so, when do you think should I use directlight, or spotlight or pointlight?

Thank you so much in advance for any answer!
Back to top Go down
Admin
Admin
avatar

Posts : 46
Points : 78
Reputation : 3
Join date : 2017-02-06
Location : London, Milan

PostSubject: Re: Foolish question about light   Tue Feb 07, 2017 10:37 am

WebForce wrote:
I know this is a very foolish question, but I see few examples in three.js where they created sunlight using a directlight so, when do you think should I use directlight, or spotlight or pointlight?

Thank you so much in advance for any answer!

There are no foolish questions Webforce. This is basically what i do:

- Directight: produces a "directional" lightbox with same intensity from the beginning to the end
- Spotlight: simply imagine a torch or a concert spotlight. It's nice and able to blend lightspot from origin to the end of a specified range.
- Pointlight: just like a bulb.
Back to top Go down
http://threejs.forumotion.com
SamCorny

avatar

Posts : 40
Points : 56
Reputation : 0
Join date : 2017-02-06
Location : NYC

PostSubject: Re: Foolish question about light   Tue Feb 07, 2017 11:48 am

WebForce wrote:
I know this is a very foolish question, but I see few examples in three.js where they created sunlight using a directlight so, when do you think should I use directlight, or spotlight or pointlight?

Thank you so much in advance for any answer!
Hi WebForce, you've seen DirectionalLight in the making sunlight because this is the best light that is going to distribute his power everywhere in the scene.
If you have to create interior environment it's better to use other type of light.
Back to top Go down
Sponsored content




PostSubject: Re: Foolish question about light   

Back to top Go down
 
Foolish question about light
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» 500W Light Dimmer
» The One. The Only. The Epic. LIGHT. A. TORCH.
» power weapon question
» dedicated transport question
» A possibly stupid and stereotypical question

Permissions in this forum:You cannot reply to topics in this forum
threejs :: WEBGL and Three JS Library :: Discussions about WebGL coding via Three.js-
Jump to: