Example #1
0
        virtual public void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters)
        {
            if (StorageFormat != StorageFormats.RGBA16F)
            {
                parameters.Set(BrightnessKey, maxBrightness);
            }
            else
            {
                parameters.Set(BrightnessKey, 1.0f);
            }

            storageTex.ApplySamplingParameters(viewContext, parameters);
        }
Example #2
0
        override public void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters)
        {
            if (StorageFormat != StorageFormats.RGBA16F)
            {
                parameters.Set(BrightnessKey, maxBrightness * (float)Math.PI);
            }
            else
            {
                parameters.Set(BrightnessKey, (float)Math.PI);
            }

            storageTex.ApplySamplingParameters(viewContext, parameters);
        }
Example #3
0
 public override void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters)
 {
     parameters.Set(BrightnessKey, 1.0f);
     SolidityTex?.ApplySamplingParameters(viewContext, parameters);
 }
Example #4
0
 public override void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters)
 {
     VoxelLayout.ApplySamplingParameters(viewContext, parameters);
 }
 public override void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters)
 {
     CoverageTex?.ApplySamplingParameters(viewContext, parameters);
 }
Example #6
0
 public void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters)
 {
     parameters.Set(ClipMapskey, ClipMaps);
     parameters.Set(MipMapskey, MipMaps);
     parameters.Set(perMapOffsetScaleKey, viewContext.IsVoxelView? PerMapOffsetScaleCurrent : PerMapOffsetScale);
 }
Example #7
0
 public abstract void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters);