2019-10-24 10:38:11 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
2022-02-08 15:56:12 +08:00
|
|
|
import Bloom from './components/Bloom';
|
2022-03-07 11:30:41 +08:00
|
|
|
import BloomClick from './components/BloomClick';
|
2019-10-29 14:42:41 +08:00
|
|
|
import Blur from './components/Blur';
|
2019-10-30 15:21:13 +08:00
|
|
|
import ColorHalftone from './components/ColorHalftone';
|
2019-11-25 15:27:56 +08:00
|
|
|
import CustomPostProcessing from './components/CustomPostProcessing';
|
2019-10-30 15:21:13 +08:00
|
|
|
import HexagonalPixelate from './components/HexagonalPixelate';
|
|
|
|
import Ink from './components/Ink';
|
|
|
|
import Noise from './components/Noise';
|
|
|
|
import Sepia from './components/Sepia';
|
2019-10-29 14:42:41 +08:00
|
|
|
import TAA from './components/TAA';
|
2019-10-29 17:33:37 +08:00
|
|
|
// @ts-ignore
|
2019-10-29 14:42:41 +08:00
|
|
|
storiesOf('MultiPassRenderer', module)
|
2019-10-30 15:21:13 +08:00
|
|
|
.add('ColorHalftone', () => <ColorHalftone />)
|
|
|
|
.add('HexagonalPixelate', () => <HexagonalPixelate />)
|
|
|
|
.add('Ink', () => <Ink />)
|
2022-02-08 15:56:12 +08:00
|
|
|
.add('Bloom', () => <Bloom />)
|
2022-03-07 11:30:41 +08:00
|
|
|
.add('BloomClick', () => <BloomClick/>)
|
2019-10-29 14:42:41 +08:00
|
|
|
.add('Blur', () => <Blur />)
|
2019-10-30 15:21:13 +08:00
|
|
|
.add('Noise', () => <Noise />)
|
|
|
|
.add('Sepia', () => <Sepia />)
|
2019-11-25 15:27:56 +08:00
|
|
|
.add('TAA(Temporal Anti-Aliasing)', () => <TAA />)
|
|
|
|
.add('自定义后处理效果', () => <CustomPostProcessing />);
|