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

Configurable effect light color #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kamilkampfwagen-II
Copy link
Contributor

@Kamilkampfwagen-II Kamilkampfwagen-II commented Feb 17, 2024

This was Mark's suggestion for a quick solution.
The effect light radiance is set to the replacement material's albedo color.

If the material has no replacements, no light will be created
resim

The replacement opacity material still has the albedo color set close to 1 by default, while it is red for translucents -for some reason-?
resim

This is especially useful since we use effect lights for things without stable anchors like muzzle flashes or projectiles which the white light is really limiting and doesn't make much sense.

The portal plasma ball (rtx.effectLightPlasmaBall = True) is unaffected.

Inherit effectlight radiance from replacement albedo color
@Kamilkampfwagen-II
Copy link
Contributor Author

Some additionaly images:
No lights are created (light debug view) with no replacements
resim

unless rtx.effectLightPlasmaBall is set to True
resim

@NV-LL
Copy link

NV-LL commented May 8, 2024

REMIX-3064 for tracking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants