x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I make a custom mesh a lightsource that lights the environment and creates shadows?

If been searching all over for this but don't seem to get a right answer that really works.

I have an architecture project that has an "S"-shaped LED stripe that should emit light as a lightsource, throw shadows and enlight the environment around it.

The mesh I importet as fbx and put a material on it that emits light. However it does not affect the other meshes around it, neither throws any shadows or is visible in reflections.

So how do I achieve this effect?

Product Version: Not Selected
Tags:
more ▼

asked Apr 08 '14 at 02:53 PM in Rendering

avatar image

Yama
31 4 5 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

5 answers: sort voted first

I think I figured it out a solution so I may as well share my findings. This pertains only to the lighting aspect though. I think the setting was hidden because dynamic GI is disabled by default. The reason why is beyond me. If you don't know how to turn it on this may help. https://www.youtube.com/watch?v=Oni6TG2DXnk then go to your material that will be emitting light. In the material editor look at the settings on the left under the Material drop down menu. Look for the toggle to "Use Emissive for Dynamic Area Lighting". When that is checked and the shader is compiled the light should be visible on the environment even when the mesh with the emissive material is off camera. Hope this helps.

more ▼

answered May 21 '14 at 07:00 PM

avatar image

jaredcfw
46 3 4 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

When you made the material did you put a vector3constant (constant3vecter whatever) node into the emission pin and then set the color values higher than 1. When I did that I had light coming from my mesh onto the environment. Only problem was that it seemed as though the light only appeared on the environment when the mesh was on camera. Hope this helps some.

more ▼

answered Apr 10 '14 at 01:41 AM

avatar image

jaredcfw
46 3 4 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Im not 100% sure of a fix, but i know that when it comes to lights ( point lights, directional lights etc ) you will only cast dynamic shadows and lighting if the light is set to "Moveable" rather than "Static" or "Stationary". You could try changing this setting on your mesh. Not only the one that is casting the light, but on the assets that will be effected by the light. You could always upload that FBX in a .zip file and i could give it go and try to get it to work, or someone else might.

more ▼

answered Apr 10 '14 at 02:47 AM

avatar image

Leetums
16 3 6 7

avatar image jaredcfw Apr 13 '14 at 11:32 PM

@Leetums I tried setting the meshes to static and dynamic and the light still vanishes when the source is off camera. Could this be a bug or it was just never intended to work how we want?

avatar image Yama Apr 14 '14 at 07:18 AM

I am afraid that could be the case, would be nice to have an official person responding to that issue.....:-(

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Guys, thanks for your answers,

unfortunately it still does not work. Here's a we transfer link to the fbx:

https://www.wetransfer.com/downloads/9d24058f4887af4881569e7cfe3e644920140410075447/2c5361cf29e7d29590876023e0d19f3b20140410075447/3e4f4b

The idea is that the LED-Stripe should throw light on the wood panels undernath and also create shadows. So far it only seems to create a glow reflection when the camera looks right at it. Hope you can find a solution, that would be great.

Cheers

Yama

more ▼

answered Apr 10 '14 at 07:56 AM

avatar image

Yama
31 4 5 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

This is what i get when i import that FBX. alt text

example.jpg (422.9 kB)
more ▼

answered Apr 10 '14 at 05:07 PM

avatar image

Leetums
16 3 6 7

avatar image Yama Apr 14 '14 at 07:14 AM

You have to untag "combine mesh" sou you will get multiple meshes. One of them should be called LED-Stripe. Thats the one that should be the light source.....

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question