Jump to content

Spector PBR Demo is broken


Hersir
 Share

Recommended Posts

Hi, just wanted to share that demo on spector.js homepage is broken

PBR Demo

spector.bundle.js:1 TypeError: BABYLON.CubeTexture.CreateFromPrefilteredData is not a function
    at CreatePBRTestScene (pbr.js:11)
    at loaderCustoms.js:41
    at spector.bundle.js:1 Array(0)
t.error @ spector.bundle.js:1
spector.bundle.js:1 Uncaught TypeError: BABYLON.CubeTexture.CreateFromPrefilteredData is not a function
    at CreatePBRTestScene (pbr.js:11)
    at loaderCustoms.js:41
    at spector.bundle.js:1

 

Link to comment
Share on other sites

@Sebavan works in chrome

macOS safari:

[Log] BJS - [11:07:55]: Babylon.js engine (v3.1-alpha) launched (babylon.new.js, line 6243)
[Error] Cross-origin redirection to https://www.babylonjs.com/Assets/environment.dds denied by Cross-Origin Resource Sharing policy: Origin http://spector.babylonjs.com is not allowed by Access-Control-Allow-Origin.
[Error] Failed to load resource: Cross-origin redirection to https://www.babylonjs.com/Assets/environment.dds denied by Cross-Origin Resource Sharing policy: Origin http://spector.babylonjs.com is not allowed by Access-Control-Allow-Origin. (environment.dds, line 0)
[Error] XMLHttpRequest cannot load http://www.babylonjs.com/Assets/environment.dds due to access control checks.
[Error] Error: Error status: 0 - Unable to load //www.babylonjs.com/Assets/environment.dds
	onreadystatechange (babylon.new.js:5801:121)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (babylon.textureTools.js.map, line 0)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...