Skip to content

[DRAFT] Skybox experiment #7692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

[DRAFT] Skybox experiment #7692

wants to merge 6 commits into from

Conversation

NeylMahfouf2608
Copy link
Collaborator

Two examples of skybox implementation :

  • first one is based on a huge cube mesh which renders textures on backfaces (i.e to the interior). It opens many possible customisation (animation, special effect with custom shader...) , but requires a large mesh, six materials, and can cause other problems (especially with shadows)

  • second one uses the background propriety of three.Scene object. It is faster and easier to use. It is also less dangerous. It has less customisation possible natively. But it can be used as "environment texture" for shiny meshes in the scene that will reflect it, like metals.

THIS DEMO USES ABSOLUTE PATHES FOR TEXTURE - You will have to modify it in order to test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant