Twinklebear / webgl-volume-raycaster

A WebGL Volume Raycaster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is the direction reversed?

kt7456 opened this issue · comments

1662432797606

1662432991117

Why is the direction reversed,
I am using mapboxgl,Guess what causes this? thanks!
this is demo address

My guess is that mapboxgl is applying some y-flip the image, which you need to apply to the volume as well either when you render it or when you display the volume rendering above the map (if you're rendering to a texture and compositing that on top of the map)

My guess is that mapboxgl is applying some y-flip the image, which you need to apply to the volume as well either when you render it or when you display the volume rendering above the map (if you're rendering to a texture and compositing that on top of the map)

i dont know how to do ,please help me