Closed RobertGemmaJr closed 2 years ago
Visit the preview URL for this PR (updated for commit df428a9):
https://volume-viewer--pr108-blending-merged-xrqh598c.web.app
(expires Mon, 13 Jun 2022 17:10:57 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
@broarr @jashlu Quick review on the react code. Shader code is almost ready to go
Multiple models can now be passed to
volume.js
, the shader code will blend them together.Aframe
folder asaframe
model_structs
uniform of typeModelStruct
in fragment shaderintentisty
,model_texture
, andtransfer_texture
uniforms (now properties of ModelStruct)create_model
function - logic is moved to mainsample_model
that samples each individual modelBlending.None
andBlending.Max
blending typesvolume.js
deepCopy
utility function