Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiLight doesn't work with pbrMat #1277

Open
shuyang979 opened this issue Jan 13, 2025 · 6 comments
Open

MultiLight doesn't work with pbrMat #1277

shuyang979 opened this issue Jan 13, 2025 · 6 comments
Labels
bug Something isn't working user reported
Milestone

Comments

@shuyang979
Copy link

MultiLight doesn't work, only Light1 works, Light2 and the other Lights don't work, my version is 0.44

@t3kt
Copy link
Owner

t3kt commented Jan 13, 2025

Can you provide an example file?

@t3kt t3kt added bug Something isn't working user reported labels Jan 13, 2025
@shuyang979
Copy link
Author

I tried the basic ROP operator again today to build a test MultiLight, and found out that I didn't see the effect of the light inside the render before because I didn't set the Light to the right position.The MultiLight was fine, it was my settings that were wrong.Thank you for your reply.RayTK is really great tool to build visual content, special thanks for developing it!!!!
I would like to ask more is it possible to use RayTK to build translucent material effects? Maybe there is a tutorial for that? Last but not least, thank you very much, I like RayTK very much!

@shuyang979
Copy link
Author

It seems that in my project settings MultiLight it still doesn't work .... Here's my project file, I've marked the comment box where the light settings are.

@shuyang979
Copy link
Author

shuyang979 commented Jan 14, 2025 via email

@t3kt
Copy link
Owner

t3kt commented Jan 15, 2025

Looks like the issue is bug in the pbrMat. It only seems to use the first light.

I also noticed in the file that you're applying a modularMat and then replacing it by applying a pbrMat afterwards. You may be better off not using pbrMat at all here. It's somewhat hard to get it working well and I haven't documented it as well as it should be.

@t3kt t3kt changed the title MultiLight doesn't work.... MultiLight doesn't work with pbrMat Jan 15, 2025
@t3kt t3kt modified the milestones: 0.44, 0.45 Jan 15, 2025
@shuyang979
Copy link
Author

shuyang979 commented Jan 16, 2025 via email

t3kt added a commit that referenced this issue Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user reported
Projects
None yet
Development

No branches or pull requests

2 participants