Skip to content

Commit

Permalink
fix: textures static page
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzinn committed Mar 19, 2023
1 parent d5e61f4 commit 3669698
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import { TextureAssetTask } from '@babylonjs/core'
import { Color3, Color4 } from '@babylonjs/core/Maths/math.color'
import { Vector3 } from '@babylonjs/core/Maths/math.vector'
import React, { FC, Suspense, useState } from 'react'
import '@babylonjs/core/Loading/loadingScreen'
import { FC, Suspense, useState } from 'react'
import { Engine, Scene, Task, TaskType, useAssetManager } from 'react-babylonjs'

const textureAssets: Task[] = [
Expand All @@ -18,7 +19,7 @@ const textureAssets: Task[] = [
},
{
taskType: TaskType.Texture,
url: 'http://i.imgur.com/wGyk6os.png',
url: '../../assets/textures/bump.png',
name: 'bump',
},
]
Expand Down
Binary file added packages/static/static/assets/textures/bump.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3669698

Please sign in to comment.