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

Complete overhaul of the HLSL PBR shader to align with the GLSL Version. #151

Merged

Conversation

shadielhajj
Copy link
Collaborator

Complete overhaul of the HLSL PBR shader to align with the GLSL Version. This includes the following dependencies:

  • Ported LightPoint struct to point.hlsl
  • Ported LightDIrection struct to directional.hlsl
  • Ported cache fields to material.hlsl
  • Ported support for Material struct in point.hlsl, directional.hlsl, fresnelReflection.hlsl and envMap.hlsl
  • Ported support for Material struct in specularAO and updated signature to match glsl
  • Ported new.hlsl
  • Ported resolve.hlsl
  • Ported and updated envBRDFApprox.hlsl
  • Finally ported pbr.hlsl from glsl

@patriciogonzalezvivo
Copy link
Owner

Wow! Massive!

@patriciogonzalezvivo patriciogonzalezvivo merged commit 2064428 into patriciogonzalezvivo:main Jul 5, 2024
@shadielhajj shadielhajj deleted the port/lighting branch July 6, 2024 12:43
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.

2 participants