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,13 +62,15 @@ struct ColorStop {
|
||||
Color3 color;
|
||||
};
|
||||
|
||||
// factor for the opacity function
|
||||
// factor for the gradient opacity function
|
||||
extern __device__ float d_opacityK;
|
||||
// sigmoid function variables
|
||||
extern __device__ float d_sigmoidShift;
|
||||
extern __device__ float d_sigmoidExp;
|
||||
// combo box index
|
||||
extern __device__ int d_tfComboSelected;
|
||||
// constant opacity option
|
||||
extern __device__ float d_opacityConst;
|
||||
|
||||
const int lenStopsPythonLike = 5;
|
||||
const int lenStopsGrayscale = 2;
|
||||
|
||||
Reference in New Issue
Block a user