Jump to content

Recommended Posts

Hi guys,

 

i have a question concerning light components in H13. I have the following case:

I want a light that only contributes to direct diffuse illumination.

According to the documentation it should be possible with the category syntax to do just that, however i cannot seem to get it working.

 

 

Here is the use case: The candle on the table has no illumination. The illumination comes from a sphere light. The sphere light has indirect contribution turned off because of noise issues. However the sphere light still contributes to direct reflection, where only the pyro sim should contribute. I cannot seem to dissable everything but direct diffuse on the sphere light....

light_contribution_test_a_0001_tw.jpg

Edited by timmwagener

Share this post


Link to post
Share on other sites

I think the image shows how to solve your problem...

 

(sorry, in the image, I disabled the diffuse. You need to do the opposite, disable all the other components)

post-7461-0-24688700-1415024510_thumb.jp

Edited by gui

Share this post


Link to post
Share on other sites

Hey gui, thx for your reply, but i think you are disabling both the indirect and direct diffuse component.

What i need would be something like

 

[ ]indirect

[ ]* ^diffuse

 

or

 

[ ]indirect & * ^diffuse

 

The thing is that i didnt find a syntax that would work. The component syntax always became invalid and all contributions where enabled again.

Share this post


Link to post
Share on other sites

[ ] -diffuse

[ ] indirect

 

* ^diffuse doesnt work here, but -diffuse is the same thing.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×