dmurdoch / rgl2gltf

Read and write .gltf and .glb files in R.
https://dmurdoch.github.io/rgl2gltf
7 stars 0 forks source link

Include some shaders #10

Closed dmurdoch closed 2 years ago

dmurdoch commented 3 years ago

The full GLTF spec can't be displayed accurately in rgl's fixed pipeline OpenGL, but rgl supports user-defined shaders. We should include some shaders, e.g. for the normal texture in the Avocado example, or others.

dmurdoch commented 2 years ago

Another case for shaders: handling skins.

dmurdoch commented 2 years ago

Skins are handled now using shaders in gltfWidget().