add blindsense sensor mode
This commit is contained in:
parent
63b25faec0
commit
a943106a49
@ -70,6 +70,24 @@ Hooks.on('init', () => {
|
|||||||
preferred: false
|
preferred: false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
CONFIG.Canvas.visionModes.blindsense = new VisionMode({
|
||||||
|
id: 'blindsense',
|
||||||
|
label: 'Blindsense',
|
||||||
|
canvas: {
|
||||||
|
shader: ColorAdjustmentsSamplerShader,
|
||||||
|
uniforms: { contrast: 0, saturation: -0.5, brightness: -0.2 }
|
||||||
|
},
|
||||||
|
lighting: {
|
||||||
|
background: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
|
||||||
|
coloration: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
|
||||||
|
illumination: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED }
|
||||||
|
},
|
||||||
|
vision: {
|
||||||
|
darkness: { adaptive: false },
|
||||||
|
defaults: { attenuation: 0.1, contrast: 0, saturation: -1, brightness: 0 },
|
||||||
|
preferred: false
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
Hooks.on('swadePreRollAttribute', preTraitRollModifiers)
|
Hooks.on('swadePreRollAttribute', preTraitRollModifiers)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user