mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
wip
This commit is contained in:
parent
8dd1e4d561
commit
36e02a959a
@ -28,9 +28,9 @@ export default function useThree() {
|
||||
|
||||
// size
|
||||
const size = {
|
||||
width: 0, height: 0,
|
||||
wWidth: 0, wHeight: 0,
|
||||
ratio: 0,
|
||||
width: 1, height: 1,
|
||||
wWidth: 1, wHeight: 1,
|
||||
ratio: 1,
|
||||
};
|
||||
|
||||
// handlers
|
||||
|
@ -6,4 +6,5 @@ export { default as FilmPass } from './FilmPass.js';
|
||||
export { default as FXAAPass } from './FXAAPass.js';
|
||||
export { default as HalftonePass } from './HalftonePass.js';
|
||||
export { default as SAOPass } from './SAOPass.js';
|
||||
export { default as SMAAPass } from './SMAAPass.js';
|
||||
export { default as UnrealBloomPass } from './UnrealBloomPass.js';
|
||||
|
@ -71,9 +71,11 @@ export const TroisJSVuePlugin = {
|
||||
'BokehPass',
|
||||
'EffectComposer',
|
||||
'FilmPass',
|
||||
'FXAAPass',
|
||||
'HalftonePass',
|
||||
'RenderPass',
|
||||
'SAOPass',
|
||||
'SMAAPass',
|
||||
'UnrealBloomPass',
|
||||
|
||||
'GLTFViewer',
|
||||
|
Loading…
Reference in New Issue
Block a user