Twinklebear / webgl-volume-raycaster

A WebGL Volume Raycaster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong color when slice is small

kt7456 opened this issue · comments

commented

Thin slices are rendered in the wrong color when adjusting the camera perspective
normal pic
image
wrong pic
image

This is the thickness of the slice
image

That's interesting, it seems like the blend equation or order might not be right? Are you drawing the map geometry first and then blending the slice on top?

commented

That's interesting, it seems like the blend equation or order might not be right? Are you drawing the map geometry first and then blending the slice on top?

Yes, but I have the same problem running your webgl example,when slice is small