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

Add support for NormalScale in PBRLighting & GltfLoader #1980

Merged
merged 2 commits into from Mar 11, 2023

Commits on Mar 6, 2023

  1. Added NormalScale factor in PBRLighting. The scalar parameter applied…

    … to each normal vector of the normal map. This value scales the normal vector in X and Y directions using the formula: `scaledNormal = normalize((<sampled normal texture value> * 2.0 - 1.0) * vec3(<normal scale>, <normal scale>, 1.0))`.
    Ali-RS committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    19368b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01d3a6f View commit details
    Browse the repository at this point in the history