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

Emission on Shader #12

Open
ndumais opened this issue Jun 26, 2023 · 2 comments
Open

Emission on Shader #12

ndumais opened this issue Jun 26, 2023 · 2 comments

Comments

@ndumais
Copy link

ndumais commented Jun 26, 2023

Is there a technical reason why the shader is not emissive, or at least that the emission intensity is not currently modifiable?

@ndumais ndumais changed the title No Emission on Shader Emission on Shader Jun 26, 2023
@johannesugb
Copy link
Owner

Well, emission is basically just adding color to the rendered result, so that is arguably very similar to what the ...Additive shaders (which are included) are doing. So, maybe try those instead of the ...AlphaBlended shaders and see if you are able to create the desired result.

If not, then the way to go is probably to add a custom illumination shader by copying an existing shader and modifying its implementation by adding an illumination approach that fits your custom needs.

@johannesugb
Copy link
Owner

Ah, and the analogue to "emission intensity" would be to just change a color's Brightness via a color picker. But yeah, you can't select values > 1.0.

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

No branches or pull requests

2 participants