#I also dont get the tint working
1 messages · Page 1 of 1 (latest)
CONFIG.Canvas.visionModes.astralPerception = new VisionMode({
id: 'astralPerceptionVision',
label: 'SR5.Vision.AstralPerception',
canvas: {
//@ts-ignore
shader: ColorAdjustmentsSamplerShader,
uniforms: {
saturation: 1,
tint: AstralPerceptionBackgroundVisionShader.COLOR_TINT,
},
},
lighting: {
//@ts-ignore
background: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
//@ts-ignore
illumination: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
//@ts-ignore
coloration: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
},
vision: {
darkness: { adaptive: false },
defaults: {
attenuation: 1,
brightness: 0.5,
saturation: -0.5,
contrast: 1,
},
background: { shader: AstralPerceptionBackgroundVisionShader },
},
});