mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
Added log slider for opacity const option
This commit is contained in:
@@ -62,7 +62,7 @@ __device__ float4 transferFunction(float density, const Vec3& grad, const Point3
|
||||
break;
|
||||
|
||||
case 2:
|
||||
alpha = 0.1f;
|
||||
alpha = d_opacityConst;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user