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
|
// 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
|
||||||
|
@ -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';
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user