1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00
This commit is contained in:
Kevin Levron 2020-10-04 23:03:03 +02:00
parent 8dd1e4d561
commit 36e02a959a
3 changed files with 6 additions and 3 deletions

View File

@ -28,9 +28,9 @@ export default function useThree() {
// size // size
const size = { const size = {
width: 0, height: 0, width: 1, height: 1,
wWidth: 0, wHeight: 0, wWidth: 1, wHeight: 1,
ratio: 0, ratio: 1,
}; };
// handlers // handlers

View File

@ -6,4 +6,5 @@ export { default as FilmPass } from './FilmPass.js';
export { default as FXAAPass } from './FXAAPass.js'; export { default as FXAAPass } from './FXAAPass.js';
export { default as HalftonePass } from './HalftonePass.js'; export { default as HalftonePass } from './HalftonePass.js';
export { default as SAOPass } from './SAOPass.js'; export { default as SAOPass } from './SAOPass.js';
export { default as SMAAPass } from './SMAAPass.js';
export { default as UnrealBloomPass } from './UnrealBloomPass.js'; export { default as UnrealBloomPass } from './UnrealBloomPass.js';

View File

@ -71,9 +71,11 @@ export const TroisJSVuePlugin = {
'BokehPass', 'BokehPass',
'EffectComposer', 'EffectComposer',
'FilmPass', 'FilmPass',
'FXAAPass',
'HalftonePass', 'HalftonePass',
'RenderPass', 'RenderPass',
'SAOPass', 'SAOPass',
'SMAAPass',
'UnrealBloomPass', 'UnrealBloomPass',
'GLTFViewer', 'GLTFViewer',