dmurdoch / rgl2gltf

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

Improve approximation of material properties #4

Closed dmurdoch closed 2 years ago

dmurdoch commented 2 years ago

glTF uses PBR parameters, rgl uses old OpenGL 1.x parameters. Find the closest approximations in each direction.

dmurdoch commented 2 years ago

This doesn't seem to be feasible. Instead, rgl2gltf will save its own parameters when writing, and handle those when reading.