Tagged articles
8 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 3, 2024 · Frontend Development

Recreating the Xiaomi SU7 Showcase Webpage with three.js and Custom Shaders

This article walks through reproducing the stunning Xiaomi SU7 showcase webpage by using three.js, custom GLSL shaders, and several helper libraries to implement dynamic environment map switching, reflective ground, tunnel traversal, bloom, and camera shake effects, providing complete source code and explanations.

PostProcessingShadersThree.js
0 likes · 18 min read
Recreating the Xiaomi SU7 Showcase Webpage with three.js and Custom Shaders
ByteFE
ByteFE
May 18, 2022 · Frontend Development

Understanding WebGL: GPU Basics, Shaders, and Practical Code Examples

This article introduces WebGL fundamentals for frontend developers, explaining GPU versus CPU, GLSL shaders, and how JavaScript prepares data, followed by step‑by‑step code examples of fragment and vertex shaders, custom primitives, and using the gl‑renderer library to render graphics.

GPUGraphicsJavaScript
0 likes · 11 min read
Understanding WebGL: GPU Basics, Shaders, and Practical Code Examples
ELab Team
ELab Team
May 26, 2021 · Frontend Development

Master WebGL: From Basics to Shaders and Texture Mapping

This article provides a comprehensive overview of WebGL, explaining its relationship to OpenGL ES, the structure of WebGL programs, shader programming (vertex and fragment shaders), storage qualifiers, a step‑by‑step colored‑triangle example, the rendering pipeline, and practical texture‑mapping techniques with code samples.

ShadersWebGLglsl
0 likes · 17 min read
Master WebGL: From Basics to Shaders and Texture Mapping
Tencent TDS Service
Tencent TDS Service
Mar 7, 2019 · Fundamentals

Master OpenGL Basics: Contexts, Buffers, Textures, and Shaders Explained

This comprehensive guide walks developers through OpenGL fundamentals—including contexts, framebuffers, attachments, textures, vertex and index buffers, shader programs, per‑fragment operations, and buffer swapping—providing clear explanations and visual diagrams to help beginners grasp modern graphics programming.

BuffersGraphicsOpenGL
0 likes · 17 min read
Master OpenGL Basics: Contexts, Buffers, Textures, and Shaders Explained
JD Tech
JD Tech
May 22, 2018 · Frontend Development

Dynamic Control of WebGL Shaders: Attributes, Uniforms, and Buffer Objects

This tutorial explains how to dynamically control WebGL vertex and fragment shaders by using attribute and uniform variables, assign values from JavaScript, manage buffer objects for large vertex datasets, and render multiple points with proper WebGL API calls.

ShadersWebGLbuffer
0 likes · 11 min read
Dynamic Control of WebGL Shaders: Attributes, Uniforms, and Buffer Objects
JD Tech
JD Tech
May 22, 2018 · Frontend Development

Getting Started with WebGL: Drawing a Point Using Shaders

This article introduces WebGL as a JavaScript‑OpenGL ES 2.0 hybrid for hardware‑accelerated 3D rendering, explains how to create a WebGL context, write and compile vertex and fragment shaders, handle canvas sizing, and render both square and circular points with detailed code examples.

3DCanvasShaders
0 likes · 9 min read
Getting Started with WebGL: Drawing a Point Using Shaders