Skip to content

Conversation

NeylMahfouf2608
Copy link
Contributor

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

@4ian 4ian force-pushed the master branch 3 times, most recently from 8a32fc5 to 846afd9 Compare August 30, 2025 12:16
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