Stylized Gaussian splatting (G-Style)
Restyles a trained Gaussian splat scene to match a reference image's style by optimising splat colours (and geometry) with a style loss, then renders it at normal splat speeds.
In the family Stylized & non-photorealistic rendering, stylized splatting
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | None found | No built-in stylized Gaussian splatting renderer. |
| Unity | None found | |
| Unreal 5.7 | None found | External stylized Gaussian splatting research method; not built into Unreal Engine. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
A scene is first reconstructed with ordinary 3D Gaussian splatting. A style image is then given, and the splat parameters are optimised with a loss computed on rendered views, combining a Gram-matrix-style statistic from a pretrained network with content preservation. The method adds measures to keep geometry stable, such as pruning and control over densification, so that stylization does not introduce floaters. After optimisation, the stylised scene is just another splat file and renders in real time with any splat viewer. The approach is from the arbitrary-style-transfer line applied to a point-based representation.
When to choose it
Reach for it when
- want my splat scene restyled like a reference image
- need artistic look that still runs in a normal splat viewer
- style transfer on a captured 3d scene
- make a photo capture look like a painting
Choose it when you need a stylised splat scene that still runs in a normal splat viewer. Prefer Gaussian splats drawn as brush marks for painting by replacing the splat footprint at render time without a per-style optimisation step.
Field marks
- Style is baked into the splats; changing style means re-optimising
- Multi-view inconsistency can show as flicker between views
- Geometry is only weakly altered, so strong stylisation of shape is limited
- Depends on a good base reconstruction
Presets
Stylized Gaussian Splatting (G-Style) — photorealistic 3D Gaussian splats (left) vs style-optimized Van Gogh / Fauvist splat scene (right)
{
"P_STYLE_STR": 0.9,
"P_SWIRL": 0.7,
"P_ORBIT": 0.5,
"P_SPLIT": 0.48
}Show GLSL (105 lines)
const float P_STYLE_STR = 0.90; // P Style Loss Weight [0.0, 1.0, 0.05]
const float P_SWIRL = 0.70; // P Chromatic Swirl [0.0, 1.2, 0.05]
const float P_ORBIT = 0.50; // P Camera Orbit [0.0, 1.5, 0.05]
const float P_SPLIT = 0.48; // P Photoreal / G-Style [0.0, 1.0, 0.02]
vec2 rot2(vec2 p, float a) {
float c = cos(a);
float s = sin(a);
return vec2(c * p.x - s * p.y, s * p.x + c * p.y);
}
float hash11(float p) {
p = fract(p * 0.1031);
p *= p + 33.33;
p *= p + p;
return fract(p);
}
vec3 aces(vec3 x) {
x = max(x, 0.0);
return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
float screenX = fragCoord.x / max(iResolution.x, 1.0);
float split = clamp(P_SPLIT, 0.0, 1.0);
bool isStyled = screenX >= split;
float styleStr = clamp(P_STYLE_STR, 0.0, 1.0);
float swirlAmt = clamp(P_SWIRL, 0.0, 1.3);
float t = iTime * max(P_ORBIT, 0.0);
// Photorealistic neutral studio sky vs Starry-Night cobalt-and-gold stylized sky
vec3 photoBg = mix(vec3(0.14, 0.16, 0.20), vec3(0.32, 0.38, 0.46), smoothstep(-0.45, 0.55, uv.y));
float skyFlow = sin(uv.x * 9.0 + sin(uv.y * 7.0 + t * 0.3) * 1.8) * cos(uv.y * 10.0 - uv.x * 5.0);
vec3 styleBg = mix(vec3(0.05, 0.12, 0.34), vec3(0.16, 0.42, 0.72), 0.5 + 0.5 * skyFlow);
styleBg += vec3(0.98, 0.80, 0.22) * smoothstep(0.62, 0.96, skyFlow) * 0.45;
vec3 bg = isStyled ? mix(photoBg, styleBg, styleStr) : photoBg;
vec3 accum = vec3(0.0);
float trans = 1.0;
// 36 3D Gaussian splats forming an orbiting architectural arch + floating centerpiece
for (int i = 0; i < 36; i++) {
float fi = float(i);
float u = fi / 36.0;
vec3 p3;
vec3 photoCol;
if (i < 22) {
// Sculptural 3D torus/arch ring
float ang = (fi / 22.0) * 6.2831853;
p3 = vec3(0.38 * cos(ang), 0.30 * sin(ang), 0.12 * sin(ang * 2.0));
photoCol = mix(vec3(0.68, 0.64, 0.58), vec3(0.84, 0.78, 0.70), 0.5 + 0.5 * sin(ang));
} else {
// Inner botanical/ceramic core cluster
float ang = ((fi - 22.0) / 14.0) * 6.2831853 * 2.0;
float yy = ((fi - 22.0) / 14.0 - 0.5) * 0.36;
p3 = vec3(0.16 * cos(ang), yy, 0.16 * sin(ang));
photoCol = mix(vec3(0.28, 0.46, 0.36), vec3(0.74, 0.36, 0.28), (fi - 22.0) / 14.0);
}
p3.xz = rot2(p3.xz, t * 0.62);
p3.yz = rot2(p3.yz, 0.18 * sin(t * 0.45));
float zCam = 1.85 - p3.z;
vec2 proj = p3.xy / max(zCam * 0.64, 0.3);
vec2 d = uv - proj;
// Style-optimized G-Style aligns splat covariance ellipses tangentially along painterly swirl flow
// and transfers Gram-matrix chromatic contrast (ultramarine shadows + cadmium yellow/vermilion highlights!)
float photoAng = fi * 0.7;
float flowAng = atan(p3.y, p3.x) + 1.5708 + 0.55 * swirlAmt * sin(p3.x * 5.0 + p3.y * 4.0);
float angUse = isStyled ? mix(photoAng, flowAng, styleStr) : photoAng;
vec2 dl = rot2(d, -angUse);
vec2 axisPhoto = vec2(0.088, 0.068) / max(zCam * 0.58, 0.35);
vec2 axisStyle = vec2(0.125 * (1.0 + 0.25 * swirlAmt), 0.042) / max(zCam * 0.58, 0.35);
vec2 axis = isStyled ? mix(axisPhoto, axisStyle, styleStr) : axisPhoto;
vec2 q = dl / axis;
// 3D directional lighting on splat center
vec3 approxN = normalize(p3 + vec3(0.0, 0.05, 0.15));
float ndl = max(dot(approxN, normalize(vec3(0.6, 0.7, 0.5))), 0.0);
vec3 litPhoto = photoCol * (0.28 + 0.88 * ndl);
// G-Style optimized splat spherical-harmonics color palette (bold Fauvist/Post-Impressionist transfer)
vec3 stylePal = mix(vec3(0.09, 0.24, 0.68), vec3(0.98, 0.42, 0.14), smoothstep(0.15, 0.62, ndl));
stylePal = mix(stylePal, vec3(1.0, 0.88, 0.26), smoothstep(0.58, 0.92, ndl));
if (i >= 22) stylePal = mix(vec3(0.12, 0.72, 0.58), vec3(1.0, 0.62, 0.18), 0.5 + 0.5 * sin(fi * 1.4));
vec3 splatCol = isStyled ? mix(litPhoto, stylePal, styleStr) : litPhoto;
float g = exp(-0.5 * dot(q, q));
// Stylized splats sharpen opacity profile slightly for crisp painterly ribbons
float alpha = isStyled ? mix(g * 0.78, smoothstep(0.24, 0.72, g) * 0.90, styleStr * 0.75) : (g * 0.78);
if (alpha > 0.01) {
accum += splatCol * alpha * trans;
trans *= (1.0 - alpha * 0.64);
}
}
vec3 col = accum + bg * trans;
float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
col = mix(col, vec3(0.96, 0.98, 1.0), sep);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: MIT — written for this index.
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| stylized-gaussian-splatting-live | Tesla T4 1920x1080 | 97.1× baseline (extreme) · 3.20 ms / 3.27 ms | opengl-timer-query · 32 frames · GPU Weight Atlas · Colab T4 sweep |
| stylized-gaussian-splatting-live | NVIDIA L4 1920x1080 | 87.4× baseline (extreme) · 1.39 ms / 1.40 ms · 2.3× faster on L4 | opengl-timer-query · Cross-architecture validation |
| stylized-gaussian-splatting-live | NVIDIA A100-SXM4-40GB 1920x1080 | 70.1× baseline (extreme) · 2.02 ms / 2.02 ms · 1.6× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): its primary source cites 3D Gaussian Splatting, Instant NGP (Multiresolution Hash Encoding).
Sources
- primaryÁron S. Kovács, Pedro Hermosilla, Renata G. Raidou (2024). <i>𝒢</i>‐Style: Stylized Gaussian Splatting. Computer Graphics Forum.Verified via crossref · 2026-11-29doi:10.1111/cgf.15259
- primaryBernhard Kerbl, Georgios Kopanas, Thomas Leimkuehler, George Drettakis (2023). 3D Gaussian Splatting for Real-Time Radiance Field Rendering. ACM Transactions on Graphics.Verified via crossref · 2026-11-29doi:10.1145/3592433