Skip to content

Commit

Permalink
Update credits
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jul 20, 2024
1 parent 00af550 commit df2380b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions example/materialBall.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { LoaderElement } from './utils/LoaderElement.js';
import { MaterialOrbSceneLoader } from './utils/MaterialOrbSceneLoader.js';
import { RectAreaLightUniformsLib } from 'three/examples/jsm/lights/RectAreaLightUniformsLib.js';

const CREDITS = 'Material orb model courtesy of USD Working Group';

let pathTracer, renderer, controls, denoiseQuad, material;
let camera, scene, loader;

Expand Down Expand Up @@ -167,6 +169,8 @@ async function init() {
controls.update();

loader.setPercentage( 1 );
loader.setCredits( CREDITS );

onParamsChange();
onResize();
window.addEventListener( 'resize', onResize );
Expand Down
2 changes: 1 addition & 1 deletion example/materialDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { MaterialOrbSceneLoader } from './utils/MaterialOrbSceneLoader.js';
import { RectAreaLightUniformsLib } from 'three/examples/jsm/lights/RectAreaLightUniformsLib.js';

const DB_URL = 'https://api.physicallybased.info/materials';
const CREDITS = 'Materials courtesy of "physicallybased.info"</br>Material sphere courtesy of USD Working Group';
const CREDITS = 'Materials courtesy of "physicallybased.info"</br>Material orb courtesy of USD Working Group';

let pathTracer, renderer, controls, material;
let camera, database, scene;
Expand Down

0 comments on commit df2380b

Please sign in to comment.