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

Provides few cheaper shader alternatives #19

Open
mgsx-dev opened this issue Jun 25, 2020 · 0 comments
Open

Provides few cheaper shader alternatives #19

mgsx-dev opened this issue Jun 25, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mgsx-dev
Copy link
Owner

Current PBR shader is a bit greedy, the idea is to provide alternatives for lower quality requirements / lowend devices.
This way, users could still use GLTF workflow and features with some options for rendering quality.
Also, i could be nice to document how to let users provide their own shaders.

Options:

  • Gouraud: the libgdx classical shader reworked a bit.
  • Phong: inspired by xoppa phong shader, adapted as well.
  • PBR (default): the actual PBR shader.

About SpecularGlossiness, GLTF has an extension for that but it's not supported by Blender GLTF exporter. So for now it's required to add this kind of textures at runtime (adding material attributes).
Specular texture attribute should be supported in all 3 shader alternatives.

@mgsx-dev mgsx-dev self-assigned this Jun 25, 2020
@mgsx-dev mgsx-dev added the enhancement New feature or request label Jun 25, 2020
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