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

[WIP] Feature request: Custom shader #2

Open
keiya01 opened this issue Apr 30, 2023 · 0 comments
Open

[WIP] Feature request: Custom shader #2

keiya01 opened this issue Apr 30, 2023 · 0 comments

Comments

@keiya01
Copy link
Owner

keiya01 commented Apr 30, 2023

This provides an API to customize builtin shader by user’s hands.

Investigate how other library works

Cesium

CustomShader - Cesium Documentation

  • Be able to set uniform manually
  • Be able to pass custom shader for model and 3D tiles

Three.js

Shader Material - three.js docs

  • Be able to set custom environment variables
  • Be able to set uniforms

Babylo.js

Putting Shader Code Into Babylon.js | Babylon.js Documentation

  • Seem to be able to set uniform and attributes

Bevy

Bevy - shader_material

  • Be able to define own struct like CustomMaterial
  • Be able to set wgpu specific statement like attributes, texture and sampler to each property
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

No branches or pull requests

1 participant