Skip to content

Commit

Permalink
textures
Browse files Browse the repository at this point in the history
  • Loading branch information
michealparks committed Dec 7, 2023
1 parent 3c98c5a commit b4bfb9a
Show file tree
Hide file tree
Showing 10 changed files with 291 additions and 197 deletions.
122 changes: 38 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,16 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"three": "*"
"three": ">=0.140"
},
"devDependencies": {
"@0b5vr/tweakpane-plugin-rotation": "^0.2.0",
"@dimforge/rapier3d-compat": "^0.11.2",
"@pangenerator/tweakpane-textarea-plugin": "^1.0.4",
"@sveltejs/adapter-auto": "^2.1.1",
"@sveltejs/kit": "^1.27.7",
"@sveltejs/package": "^2.2.3",
"@threlte/core": "^7.0.6",
"@threlte/core": "^7.0.9",
"@threlte/extras": "^8.0.8",
"@threlte/rapier": "^1.1.4",
"@tweakpane/core": "^2.0.1",
"@tweakpane/plugin-essentials": "^0.2.0",
"@types/three": "^0.159.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
Expand All @@ -75,8 +71,6 @@
"three": "^0.159.0",
"trzy": "^0.3.17",
"tslib": "^2.6.2",
"tweakpane": "^4.0.1",
"tweakpane-image-plugin": "^1.1.3",
"typescript": "^5.3.3",
"vite": "^5.0.6",
"vite-plugin-glsl": "^1.2.0"
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/Bindings/Light/Light.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
export let object: THREE.Light
</script>

<Binding bind:object key='intensity' label='intensity' options={{ step: 0.05 }} />

<Color key='color' {object} />
<Binding bind:object key='intensity' label='intensity' options={{ step: 0.05 }} />

{#if object instanceof THREE.DirectionalLight}
<Directional {object} />
Expand Down
Loading

0 comments on commit b4bfb9a

Please sign in to comment.