About Store Forum Documentation Contact



Post Reply 
Light emitting object
Author Message
mystara Offline
Member

Post: #1
Light emitting object
Hi,

I'm trying to make an object emit a light in order to make that object act as a light source.

I understand the principle. Basically I need to add an object, and a point light. However, when I do this, only part of the object is lit. For example, see the attached image.

In this image, I have a bowl (it was the first model that I grabbed pfft) and I want to make the bowl act as a light source. However, depending on where the mesh of the bowl is in relation to the point light, only part of the bowl gets lit. In this example, you can see that the top of the bowl is lit, but the bottom of the bowl is not lit.

How do I make the whole of the model (bowl) lit up?


Attached File(s) Image(s)
   
12-20-2012 11:12 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #2
RE: Light emitting object
A light will only affect polygons facing towards it, based on the vertex normal. You cannot make the bowl itself a light source.
12-21-2012 02:32 AM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #3
RE: Light emitting object
You can use a glow material + light point.

There is always evil somewhere, you just have to look for it properly.
12-21-2012 11:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #4
RE: Light emitting object
Hi, thanks for the responses.

I actually tried making the material glow. It looked better, but it still had dark bits on it.

It sounds like the way to proceed would be to exempt the model from lighting alltogether. Unless there's some way of making the object transparent to light
12-21-2012 12:25 PM
Find all posts by this user Quote this message in a reply
neo22 Offline
Member

Post: #5
RE: Light emitting object
You can also create a custom shader which don't manage shadow, so the object will be always be perfectly lighten.
Then you can put a light point within you object and set it's cast shadow property to false.
it's probably not the ultimate solution but it's one.
12-21-2012 01:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Light emitting object
You can try setting Material with high Ambient color values.
12-29-2012 12:45 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #7
RE: Light emitting object
I tried that too, but it didn't seem to do much.

In the end, I simply drew the mesh in blend mode, and it works fine smile
12-29-2012 04:30 PM
Find all posts by this user Quote this message in a reply
Post Reply