Tag

GLSL

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Nov 27, 2024 · Mobile Development

Implementing Particle Snap Effect in Flutter Using Shaders and OverlayPortal

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
Implementing Particle Snap Effect in Flutter Using Shaders and OverlayPortal
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.

GLSLShadersThree.js
0 likes · 18 min read
Recreating the Xiaomi SU7 Showcase Webpage with three.js and Custom Shaders
DaTaobao Tech
DaTaobao Tech
May 17, 2023 · Frontend Development

Introduction to 3D Rendering Technologies: OpenGL, OpenGL ES, WebGL, and Front‑End Engines

The article introduces core 3D rendering concepts, tracing the evolution from desktop OpenGL to mobile OpenGL ES and its JavaScript counterpart WebGL, explains GLSL shader programming, reviews common model formats like OBJ and FBX, highlights front‑end engines such as Three.js, compares rasterization with ray tracing, and mentions modeling tools and emerging AI‑driven techniques.

3D renderingGLSLOpenGL
0 likes · 11 min read
Introduction to 3D Rendering Technologies: OpenGL, OpenGL ES, WebGL, and Front‑End Engines
Sohu Tech Products
Sohu Tech Products
Mar 29, 2023 · Mobile Development

OpenGLES 2D Lab: Face‑Slimming Photo Editing Demo (Second Edition)

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
OpenGLES 2D Lab: Face‑Slimming Photo Editing Demo (Second Edition)
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2022 · Frontend Development

Understanding Shaders in WebGL1: Vertex and Fragment Shaders, GLSL Syntax, and Cube Rendering

This article provides a comprehensive guide to WebGL1 shaders, explaining the roles of vertex and fragment shaders, GLSL syntax, storage qualifiers, precision, control structures, and demonstrates rendering a 3D cube with indexed drawing and reusable utility functions.

Fragment ShaderGLSLGraphics Programming
0 likes · 21 min read
Understanding Shaders in WebGL1: Vertex and Fragment Shaders, GLSL Syntax, and Cube Rendering
Ctrip Technology
Ctrip Technology
Sep 22, 2022 · Mobile Development

Using OpenGL ES for Image Transition Effects in Mobile Video Editing

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
Using OpenGL ES for Image Transition Effects in Mobile Video Editing
ByteFE
ByteFE
Jun 22, 2022 · Frontend Development

Understanding WebGL from Scratch: Color Manipulation and Shader Techniques

This tutorial explores color manipulation in WebGL fragment shaders, demonstrating how to apply RGBA values, create gradient effects using coordinate mapping and cubic Bezier curves, and implement HSB color space conversions to achieve dynamic and visually complex rendering results.

Color TheoryFragment ShadersFrontend Development
0 likes · 7 min read
Understanding WebGL from Scratch: Color Manipulation and Shader Techniques
ByteFE
ByteFE
Jun 15, 2022 · Frontend Development

Using Polar Coordinates in WebGL Shaders to Create Complex Patterns

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.

GLSLShaderWebGL
0 likes · 6 min read
Using Polar Coordinates in WebGL Shaders to Create Complex Patterns
ByteFE
ByteFE
Jun 8, 2022 · Frontend Development

Understanding Distance Fields for Triangles, Regular Polygons, and Ellipses in WebGL

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
Understanding Distance Fields for Triangles, Regular Polygons, and Ellipses in WebGL
ByteFE
ByteFE
Jun 1, 2022 · Frontend Development

Understanding and Implementing Distance Fields in WebGL (Part 2)

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 FieldGLSLShader
0 likes · 9 min read
Understanding and Implementing Distance Fields in WebGL (Part 2)
Tencent Cloud Developer
Tencent Cloud Developer
Jun 2, 2021 · Game Development

Shader-Based Image Deformation Effects: Implementation and Principles

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 FieldGLSLPost-processing
0 likes · 9 min read
Shader-Based Image Deformation Effects: Implementation and Principles
360 Tech Engineering
360 Tech Engineering
Oct 30, 2020 · Frontend Development

Building an Interactive 3D Globe with Three.js, GLSL Shaders, and Clickable Countries

This tutorial explains how to create a visually striking, interactive 3D globe using three.js, covering texture mapping, GLSL shader programming, click interaction logic, flight‑line effects, performance considerations, and a complete example of vertex and fragment shaders with accompanying JavaScript code.

Data VisualizationFrontend DevelopmentGLSL
0 likes · 19 min read
Building an Interactive 3D Globe with Three.js, GLSL Shaders, and Clickable Countries
Sohu Tech Products
Sohu Tech Products
Nov 20, 2019 · Mobile Development

Implementing a Generalized Split‑Screen Filter with GLSL Fragment Shaders

This article demonstrates how to create a universal GLSL fragment shader that produces static and delayed dynamic split‑screen effects—similar to TikTok filters—by manipulating texture coordinates, handling arbitrary screen counts, and integrating multiple textures within the iOS GPUImage framework.

Fragment ShaderGLSLGPUImage
0 likes · 9 min read
Implementing a Generalized Split‑Screen Filter with GLSL Fragment Shaders
Tencent Cloud Developer
Tencent Cloud Developer
Jun 21, 2018 · Mobile Development

Implementing Shift-and-Blend Video Effects with OpenGL Shaders

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
Implementing Shift-and-Blend Video Effects with OpenGL Shaders
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.

BufferGLSLJavaScript
0 likes · 11 min read
Dynamic Control of WebGL Shaders: Attributes, Uniforms, and Buffer Objects
JD Tech
JD Tech
Apr 13, 2018 · Frontend Development

Using WebGL for General‑Purpose GPU Computation in the Browser

This article explains how browsers can leverage GPU acceleration via WebGL and GLSL to perform general‑purpose calculations, compares CPU and GPU architectures, demonstrates step‑by‑step shader programming, data encoding into RGBA, and discusses precision limits and performance gains.

GLSLGPGPUGPU
0 likes · 8 min read
Using WebGL for General‑Purpose GPU Computation in the Browser