polish catalog
This commit is contained in:
@@ -10,6 +10,7 @@ const assetSchema = z.object({
|
||||
src: z.string(),
|
||||
dimensions: z.tuple([z.number(), z.number(), z.number()]).default([1, 1, 1]), // [w, h, d]
|
||||
attachTo: z.enum(['wall', 'wall-side', 'ceiling']).optional(),
|
||||
tags: z.array(z.string()).optional(),
|
||||
// These are "Corrective" transforms to normalize the GLB
|
||||
offset: z.tuple([z.number(), z.number(), z.number()]).default([0, 0, 0]),
|
||||
rotation: z.tuple([z.number(), z.number(), z.number()]).default([0, 0, 0]),
|
||||
@@ -42,6 +43,7 @@ export const ItemNode = BaseNode.extend({
|
||||
- offset: corrective position offset for the model
|
||||
- rotation: corrective rotation for the model
|
||||
- scale: corrective scale for the model
|
||||
- tags: tags associated with the item
|
||||
`)
|
||||
|
||||
export type ItemNode = z.infer<typeof ItemNode>
|
||||
|
||||
@@ -26,7 +26,7 @@ import useViewer from '../../store/use-viewer'
|
||||
// SSGI Parameters - adjust these to fine-tune global illumination and ambient occlusion
|
||||
export const SSGI_PARAMS = {
|
||||
enabled: true,
|
||||
sliceCount: 1,
|
||||
sliceCount: 2,
|
||||
stepCount: 8,
|
||||
radius: 1,
|
||||
expFactor: 1.5,
|
||||
|
||||
Reference in New Issue
Block a user