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

[glTF] Support emissive texture #462

Open
footballhead opened this issue May 3, 2024 · 0 comments
Open

[glTF] Support emissive texture #462

footballhead opened this issue May 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@footballhead
Copy link
Collaborator

emissiveTexture is loaded and passed to the StandardMaterial but is never referenced.

The purpose is outlined in 3.9.3:

The emissive texture and factor control the color and intensity of the light being emitted by the material. The texture MUST contain 8-bit values encoded with the sRGB opto-electronic transfer function so RGB values MUST be decoded to real linear values before they are used for any computations. To achieve correct filtering, the transfer function SHOULD be decoded before performing linear interpolation.

This would allow us to render the following correctly for example:

@footballhead footballhead added the enhancement New feature or request label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant