Tagged articles
Shader
56 articles · Page 1 of 1
Vercel’s newly open‑sourced VGPU adds a TypeScript‑friendly layer to WebGPU, letting developers import WGSL modules, auto‑reflect bindings, and render shaders both in browsers and headless Node.js environments—even on machines without dedicated GPUs—using Dawn or a CPU software renderer.
Agent-firstCPU Software RendererNode.js
0 likes · 10 min read

This article walks you through creating a visually striking hero section using Three.js, covering prerequisite knowledge, scene composition, nebula background, particle‑based star rings, custom GLSL shaders for animation, planet rendering with displacement maps, and performance‑boosting techniques like anisotropic filtering.
3D graphicsGLSLShader
0 likes · 19 min read

This article explores various techniques—from CSS animation to WebGL shaders—for rendering rain in a browser, analyzes the underlying algorithms, provides GLSL and Three.js code examples, and discusses performance optimizations and extensions such as snow effects.
CanvasShaderThree.js
0 likes · 11 min read

This article delves into the technical implementation of iOS 26’s Liquid Glass effect, explaining its physics‑based translucency, adaptive coloring, refraction and fluid deformation, and then shows how to recreate it in Flutter using custom shaders, SDF calculations, lighting models, and the Impeller engine.
FlutterLiquid GlassSDF
0 likes · 19 min read

This article guides readers through building a highly customized 3D scene using Three.js, GLSL shaders, AI‑generated 2D/3D assets, orthographic cameras, pixelated post‑processing, four‑direction character movement, octree collision detection, and stylized water effects, while providing code snippets and resource links.
3DAIBlender
0 likes · 35 min read

This tutorial walks through building an advanced hero section using Three.js, covering prerequisites, loading and animating a robot model, configuring lighting, creating particle effects, adding UI elements, applying a radial gradient background, implementing parallax interaction, and rendering flowing lines for a polished WebGL experience.
Particle SystemShaderThree.js
0 likes · 21 min read

This article walks through building an eye‑catching Hero Section using Three.js, custom GLSL shaders, dynamic point lights, and post‑processing effects such as UnrealBloomPass, FilmPass, and a custom ShaderPass, providing complete code snippets and practical tips for front‑end developers.
3DGraphicsPostProcessing
0 likes · 12 min read

This article provides a comprehensive overview of modern GPU architecture, covering components such as SMs, GPCs, memory hierarchy, unified shader architecture, SIMT execution, warp scheduling, and compares IMR, TBR, and TBDR rendering pipelines while offering practical optimization techniques for developers.
GPUGraphicsRendering
0 likes · 27 min read

This tutorial explores SwiftUI's transition mechanisms—including AnyTransition, the new Transition protocol, visualEffect modifiers, shader‑based effects, color gradients, text rendering, scroll‑based and navigation transitions—providing step‑by‑step code examples and practical guidance for creating impressive UI animations.
AnyTransitionCustomTransitionShader
0 likes · 32 min read

The article shows how to create a Thanos‑style particle snap animation in Flutter by capturing a widget screenshot, inserting an OverlayPortal layer, and applying a custom fragment shader that treats each pixel as a moving, fading particle, with detailed GLSL code and shader loading steps.
FlutterGLSLMobileDevelopment
0 likes · 22 min read

This tutorial demonstrates how to build a 3D city model in Three.js by adding ambient and directional lighting with shadows, generating random building geometries, customizing shaders for top‑view UV mapping, and implementing animated radar diffusion and scanning effects through shader uniform updates.
ShaderThree.jsWebGL
0 likes · 9 min read

This article provides a comprehensive technical overview of modern GPU architecture, covering memory hierarchy, compute units, shader execution, rendering pipelines, and performance‑optimisation techniques such as unified shaders, SIMT, warp scheduling, and tile‑based rendering strategies.
GPUMemoryRendering
0 likes · 32 min read

This tutorial demonstrates how to create a realistic rain effect in three.js by generating depth maps with an orthographic camera, rendering them to a texture, and using custom shaders to position and fade raindrop meshes based on depth information.
ShaderThree.jsWebGL
0 likes · 13 min read

This article explains how to create a karaoke‑style per‑word gradient highlight for song lyrics in a Flutter app, covering the visual effect analysis, gradient positioning tricks, ShaderMask usage, animation with Tween and AnimationController, per‑character timing, and progress synchronization.
FlutterShaderanimation
0 likes · 13 min read

The new QQ 9.0 introduces aurora‑style animations generated by continuous, smoothed noise algorithms with uniform‑probability color mapping, and a spring‑driven 3D penguin rendered via Filament’s PBR materials and GPU compute shaders, achieving sub‑2 ms performance on most Android and iOS devices.
3DGPUShader
0 likes · 17 min read

This article provides a comprehensive technical overview of GPU architecture, from memory hierarchy and compute units to rendering pipelines and optimization techniques, explaining how modern graphics hardware processes shaders, manages resources, and balances performance across different rendering strategies.
GPUGraphicsRendering
0 likes · 33 min read

This article explains how to recreate a complex particle animation using three.js by leveraging GPGPU techniques, custom shaders, and compute shaders to efficiently simulate and render hundreds of thousands of particles in real time.
GPGPUJavaScriptParticle System
0 likes · 10 min read

The article explains how to give privileged Android live‑chat users gradient nicknames by applying a LinearGradient shader via a custom GradientColorSpan, handling multi‑line text with restart or continuous strategies, and integrating these spans in a LiveGradientTextView that measures, inflates, and renders the gradient consistently across all live‑room scenarios.
AndroidCustom SpanShader
0 likes · 14 min read

This article walks through how to replicate Genshin Impact's login interface using three.js, custom GLSL shaders, instanced meshes, and post‑processing effects, providing detailed code snippets and explanations for background gradients, cloud layers, pillars, light beams, stars, fog, and rendering optimizations.
GraphicsInstancedMeshShader
0 likes · 8 min read

The Galacean Engine 1.2 milestone introduces a suite of enhancements—including scene asset management, multi‑scene rendering, KTX2 texture compression, a GPU particle renderer, the new ShaderLab language, and a revamped editor panel system—aimed at boosting 2D/3D interactive project development efficiency.
3DEngineGPU particles
0 likes · 13 min read

This article explains how to create a realistic, map‑based rain effect with Three.js by designing a 3D particle system, writing custom vertex and fragment shaders, integrating the layer into a map scene, and extending it to support wind and snow effects.
ShaderWebGLmap-integration
0 likes · 15 min read

This article provides a comprehensive introduction to WebGL, covering its relationship with OpenGL ES, differences from Canvas and SVG, performance comparisons, step‑by‑step code examples for drawing points, squares and shaders, and explains the complete rendering pipeline for front‑end developers.
CanvasGraphicsJavaScript
0 likes · 15 min read

This article presents an iOS OpenGLES 2D experiment that demonstrates a face‑slimming photo‑editing demo, explains the mesh‑grid warping algorithm, shader debugging techniques, perspective and affine transformations, and provides full source code and usage instructions.
Face SlimmingGLSLOpenGLES
0 likes · 9 min read

Godot 4.0, the biggest and longest‑developed version of the open‑source game engine, introduces new Vulkan back‑ends, an OpenGL compatibility renderer, advanced global illumination, enhanced 2D tilemap tools, sophisticated shader and post‑processing features, plus extensive updates across scripting, physics, UI, XR, networking, audio and animation.
2D3DGodot
0 likes · 10 min read

This article demonstrates how to use Three.js post‑processing techniques, including EffectComposer, RenderPass, BloomPass, and custom shaders, to build an animated 3D scene featuring a glowing portal and Rick and Morty model, covering shader setup, layer management, animation, and UI controls for fine‑tuning.
3D animationJavaScriptShader
0 likes · 24 min read

ShaderNN is an open‑source, sub‑2 MB GPU‑shader inference engine that runs TensorFlow, PyTorch and ONNX models directly on mobile graphics textures via OpenGL fragment and compute shaders, delivering real‑time, low‑power AI for image‑heavy tasks while eliminating third‑party dependencies and achieving up to 90 % speed gains.
GPUShaderinference engine
0 likes · 11 min read

This tutorial explains how to transfer a Bitmap from Java to the native layer using the NDK, retrieve its pixel data with jnigraphics, create and configure an OpenGL texture, set up vertex and fragment shaders with proper texture coordinates, handle Y‑axis flipping on Android, and finally blend multiple textures for advanced rendering effects.
Android NDKMulti-TextureOpenGL ES
0 likes · 20 min read

This article guides beginners through the fundamentals of computer graphics, explaining OpenGL, WebGL, GLSL, and the rendering pipeline, then demonstrates practical Three.js code for setting up scenes, cameras, lights, materials, and textures to create interactive 3D web experiences.
3D renderingGPUGraphics
0 likes · 20 min read

This article introduces the role of OpenGL ES in mobile video editing, explains why it is preferred over Vulkan, details the rendering pipeline and GLSL shader programming, and provides step‑by‑step Android code for implementing image transition effects and combining multiple transitions.
AndroidGLSLOpenGL
0 likes · 24 min read


WeChatFEJun 15, 2022 · Frontend Development
This article explains how to use WebGL shaders and signed distance functions to draw rectangles and rounded rectangles, covering basic shader setup, SDF formulas for circles, boxes, and rounded boxes, and applying antialiasing techniques to achieve smooth edges for dynamic UI cards.
AntialiasingRounded RectangleShader
0 likes · 16 min read


ByteFEJun 15, 2022 · Frontend Development
This article demonstrates how to convert Cartesian coordinates to polar coordinates in GLSL, providing reusable shader functions and examples that generate a variety of intriguing shapes such as blades, clovers, buds, flowers, gourds, apples, and infinity symbols, while encouraging experimentation with parameters.
GLSLGraphicsPolar Coordinates
0 likes · 6 min read


ByteFEJun 8, 2022 · Frontend Development
This article explains how to construct signed distance fields for triangles, regular polygons and ellipses using GLSL shaders in WebGL, covering the mathematical definitions, interior‑exterior detection, code implementations, and techniques for repeating patterns to create complex procedural graphics.
Distance FieldsGLSLProcedural Graphics
0 likes · 13 min read


ByteFEJun 1, 2022 · Frontend Development
This article explains the concept of distance fields, shows how to compute distance fields for rectangles, lines, and line segments in GLSL, and demonstrates sampling techniques and curve rendering using WebGL shaders with complete code examples.
Distance FieldGLSLGraphics
0 likes · 9 min read

Impeller, Flutter’s new rendering backend, tackles shader compilation jank by offline compiling shaders into shader libraries, introducing a modular architecture with compiler, renderer, and entity components, supporting Metal on iOS/macOS, and promising predictable performance, portability, and concurrency while outlining current limitations and future roadmap.
FlutterImpellerShader
0 likes · 15 min read

Impeller, Flutter’s new rendering backend, eliminates runtime shader‑compilation jank by offline‑compiling GLSL to SPIR‑V and target APIs such as Metal, generating C++ bindings for fast pipeline state creation, offering predictable performance, portability and concurrency, though currently only the Metal backend is functional and feature support remains incomplete.
FlutterGraphicsImpeller
0 likes · 14 min read


Aotu LabMar 24, 2022 · Frontend Development
Learn the four main web drawing tools—HTML + CSS, SVG, Canvas 2D, and WebGL—understand when to choose each, and follow a detailed, code‑rich tutorial that walks through creating a WebGL context, shaders, buffers, and rendering a simple triangle.
HTML5Shader
0 likes · 11 min read

This article explains how noise algorithms such as Perlin, FBM, and Worley can complement Physically Based Rendering (PBR) to overcome its limitations, presenting theoretical background, shader implementations, and visual results that demonstrate more realistic and dynamic textures for graphics applications.
Graphics RenderingNoise AlgorithmsPBR
0 likes · 11 min read

This article explains what shaders are, how they run on the GPU, and walks through each stage of the OpenGL graphics pipeline—from vertex processing to rasterization, fragment shading, and alpha testing—providing a comprehensive foundation for graphics programming.
Graphics PipelineOpenGLShader
0 likes · 10 min read

This article introduces the essential concepts and step‑by‑step implementation of 2D and 3D graphics rendering on the web, covering viewport transformation, triangle rasterization, anti‑aliasing, interpolation, camera setup, perspective projection, and depth testing using HTML5 Canvas and JavaScript.
3D renderingGraphicsShader
0 likes · 15 min read

This article explains how various noise algorithms—value, gradient, simplex, cellular, and FBM—are applied to short‑video visual effects, showcases shader implementations and image examples, and compares GPU random‑number generators to help developers choose the right balance of performance and visual quality.
GPUShadernoise
0 likes · 17 min read

This tutorial walks through redesigning a complex role‑relationship page using PIXIJS for 2D rendering, custom GLSL shaders for cloud effects, TWEENJS for smooth animations, and careful performance tuning to ensure responsive behavior across devices.
JavaScriptPixiJSShader
0 likes · 18 min read

This article examines mobile Image‑Based Lighting (IBL) rendering, comparing Split‑Sum Approximation with Substance Painter results, analyzing high‑frequency lighting differences, proposing reflection direction corrections, detailing Prefilter map generation, and presenting solutions for highlight aliasing on mobile GPUs.
IBLPrefilter MapShader
0 likes · 8 min read

The article explains how to implement three common beauty‑camera image deformation effects—twirl, inflate, and pinch—using GLSL shaders, detailing the underlying deformation functions, sampling distance‑field transformations, and smoothstep‑based strength controls, and provides full shader code, animated examples, and resource links.
Distance FieldGLSLShader
0 likes · 9 min read


Aotu LabMay 27, 2021 · Frontend Development
This article explains why WebGL, powered by the GPU, outperforms Canvas for data‑intensive 2D effects, walks through setting up a Three.js environment, and demonstrates basic fragment shaders, uniform usage, and animation techniques with practical code examples.
ShaderThree.js
0 likes · 9 min read

This tutorial explains the fundamentals of YUV color space, its differences from RGB, and provides a complete WebGL workflow—including shader creation, texture mapping, and buffer handling—to convert YUV‑420p video frames into RGB images for browser rendering.
GraphicsRGBShader
0 likes · 17 min read


ByteFEMar 10, 2021 · Frontend Development
This tutorial explains how to synchronize HTML elements with a WebGL scene using three.js, create a twisted gallery effect through custom shaders, handle image loading, and implement scroll-driven distortion using locomotive-scroll and GSAP, providing complete code examples and implementation steps.
PostProcessingShaderThree.js
0 likes · 12 min read

This article explains how to implement a dynamic video‑clip effect using Bezier‑curve‑based position, rotation, easing functions, and motion blur in a WebGL shader for Tencent’s Weijian mini‑program, detailing the mathematics, shader code, and practical steps to achieve smooth, natural animations.
Bezier CurveEasingGraphics
0 likes · 10 min read

This article walks through creating a Web‑based 3D endless‑runner game using Oasis Editor, covering scene design, asset preparation, scripting, shader development, performance tuning, and the migration from Oasis 3D V2 to V3, with practical code examples and visual illustrations.
Oasis EditorShaderWeb 3D
0 likes · 24 min read

This article walks a front‑end beginner through the fundamentals of WebGL, explaining canvas basics, hardware vs software acceleration, and providing a complete Hello World example with HTML, shader code, and JavaScript to render a single red point on a green canvas.
CanvasGraphicsJavaScript
0 likes · 18 min read

This article walks readers through the fundamentals of WebGL and OpenGL ES, explaining how JavaScript can drive hardware‑accelerated 3D graphics in browsers, covering rendering pipelines, shader basics, and the relationship between GPU, CPU, and modern web development.
Frontend DevelopmentOpenGL ESShader
0 likes · 17 min read

This guide explains how to overcome large‑scale 3D map visualization challenges by using off‑screen rendering, framebuffers, and a step‑by‑step Bloom effect implementation—including bright‑area extraction, Gaussian blur, image merging, and HDR integration—in WebGL.
BloomFramebufferGraphics
0 likes · 8 min read

This article walks through the complete WebGL rendering pipeline, explaining how to create a WebGL context, set up vertex and fragment shaders, load vertex data into buffers, configure viewports and attributes, and finally draw a colored triangle on the canvas using JavaScript.
GraphicsRenderingShader
0 likes · 14 min read

This article explains how to convert a series of images into a video on Android, compares two processing pipelines, and details the implementation of custom OpenGL transition effects—including slide, pixelation, ripple, and random‑grid—using MediaCodec and shader programs.
AndroidMediaCodecOpenGL
0 likes · 16 min read

In this article, Tencent engineer Chang Qing explains the biology‑inspired “Shift‑and‑Blend” video effect—separating RGB channels, scaling and translating each, then alpha‑blending them—while detailing a normalized coordinate system, the required scaling/translation operations, and a high‑performance OpenGL fragment shader implementation for real‑time video processing, with links to demo and source code.
GLSLOpenGLShader
0 likes · 9 min read


JD TechMay 22, 2018 · Frontend Development
This tutorial walks through building a dynamic wave animation in WebGL by converting canvas coordinates, generating point vertices with sine functions, using requestAnimationFrame for smooth updates, and customizing point sizes via buffer attributes, providing complete JavaScript code snippets and shader modifications.
ShaderWebGLanimation
0 likes · 9 min read

This article explains how programmable shaders running on the GPU form the foundation of modern graphics rendering, and demonstrates step‑by‑step how to replace a large transparent PNG background, create animated particle effects, and draw complex patterns directly with GLSL in WebGL, resulting in smaller, more dynamic, and faster web pages.
Frontend OptimizationGLSLShader
0 likes · 20 min read
