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

Normal maps #32

Open
hunterloftis opened this issue Aug 28, 2018 · 0 comments
Open

Normal maps #32

hunterloftis opened this issue Aug 28, 2018 · 0 comments

Comments

@hunterloftis
Copy link
Owner

Normal maps modify the normals used to calculate lighting at a point on a face. Currently, every Object in pbr provides the normal at a point. There's a place in the At function to add a normal map value to the computed normal and return that instead.

Normal maps are already loaded in along with other textures, they just aren't used.

Adding normal maps will greatly enhance the detail and realism of surfaces by allowing surfaces that have texture.

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

No branches or pull requests

1 participant