Recent posts

[Three.js] Shader Material

0

A shader material is rendered with a custom shader. It requires vertex and fragment shaders which are written in GLSL (openGL Shading Language) code and depict the position of a vertex and its color, respectively. Since these codes run on the GPU using WebGL, a ShaderMaterial is rendered prope...

[Three.js] PBR (Physical-based rendering) Material

0

Three.js provides the material attribute for a 3D object, which determines how the object reflects light and how the object is rendered in a camera. The properties of material are composed of base color, metalness, roughness, and so on. Moreover, we can decorate the surface of a 3D object by u...

[Three.js] Scene Graph

0

This post is part of the Solar System Simulator series: Three.js coordinate basics Three.js PBR (Physical-based rendering) material basics Create realistic Earth Create realistic Sun with glow Create realistic Saturn with rings Create realistic Phobos with irregular shape Make the...

[Three.js] How to Create a Scene

0

Create the scene environment For Three.js to render a scene, it needs scene, camera, and renderer. In JavaScript, you have to import Three.js depending on the installation options as mentioned in the previous article.

[Three.js] Installation

0

Three.js is a JavaScript library for creating and animating 3D computer graphics in browser using WebGL. 1 Three.js ↩