Dataset
Shader and VFX graph datasets for AI training
A shader dataset is a collection of the source behind real-time graphics effects: shader code in HLSL and GLSL, node-based material graphs, particle and VFX graph assets and their parameter presets, with revision history and the textures they reference. SourceX sources these on request from established game studios, VFX houses and technical art outsourcers that hold them in engine projects and version control. A buyer can specify each effect as graph, generated code and rendered result where the engine allows. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Shader source, material graphs, VFX graph assets and parameter presets with revision history and referenced textures
- Typical systems
- Unreal Engine Material Editor and Niagara, Unity Shader Graph and VFX Graph, Substance Designer, Perforce or Git
- Typical history
- Varies by project; revision depth depends on what version control kept
- Modality
- Shader code, node graphs as native assets and text exports, parameter tables, textures and reference renders
- Delivery formats
- HLSL, GLSL and ShaderLab files, native graph assets with JSON exports, PNG or EXR textures and renders
- Preparation
- Author names replaced with role IDs; engine, sample and marketplace content flagged or excluded; internal paths removed
- Licensing
- Scoped per project to work the studio authored and may license; permitted use agreed per license
- Availability
- Sourced to your spec; graph exports and renders depend on the studio's engine versions; not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| effect_id | string | Stable identifier that groups every form, variant and revision of one material or effect. |
| effect_kind | enum | Surface material, post-process, decal, interface, particle system, mesh effect or compute shader. |
| engine_context | object | Engine and engine build, render pipeline or renderer, shading model and blend mode the effect was written for. |
| graph_source | object | The node graph as its native asset and as a text export of nodes, connections, comments and referenced subgraphs. |
| shader_source | array | Hand-written shader files such as HLSL, GLSL or ShaderLab, with their includes and entry points. |
| generated_code | object | Code the engine produced from the graph, with the compile target and whether engine template code was removed. |
| parameters | object | Exposed parameters with types, defaults and ranges, and the presets or material instances that override them. |
| texture_refs | array | Referenced textures with role, resolution, channel layout and whether the file is included in the delivery. |
| simulation_spec | object | For particle effects: emitters, spawn rates, modules, lifetime, bounds and whether simulation runs on the CPU or GPU. |
| variants | array | Platform and quality versions of the effect, the switches or keywords that select each, and what each one changed. |
| cost_notes | object | Stated budget, instruction and sampler counts, and GPU timings with the device, resolution and method behind them. |
| reference_renders | array | Images or clips rendered from a named variant with the mesh, lighting, time and parameter values recorded. |
| change_history | array | Revisions with date, author role and commit message, and a text diff where the asset format allows one. |
| license_origin | object | Whether the work was authored in-house or derives from engine samples or purchased packs. |
Field names from the table above; values are masked placeholders.
Example record
{
"effect_id": "fx_river_surface_03",
"effect_kind": "surface_material",
"engine_context": {
"engine": "unreal_engine",
"engine_build": "studio_fork_r212",
"blend_mode": "translucent"
},
"graph_source": {
"native_file": "M_RiverSurface.uasset",
"export_file": "M_RiverSurface.graph.json",
"functions": [
"MF_FlowMapPan",
"MF_DepthFade"
]
},
"shader_source": [
{
"file": "FlowRefraction.ush",
"language": "hlsl"
}
],
"generated_code": {
"file": "M_RiverSurface.high.generated.hlsl",
"target": "d3d12",
"engine_template_removed": true
},
"parameters": {
"exposed": [
{
"name": "FlowSpeed",
"type": "scalar",
"default": 0.35,
"range": [
0,
2
]
}
],
"presets": [
{
"name": "MI_River_Swamp",
"overrides": {
"FlowSpeed": 0.1
}
}
]
},
"texture_refs": [
{
"role": "flow_map",
"file": "T_River_Flow.png",
"size": 1024,
"channels": "RG",
"included": true
},
{
"role": "packed_mask",
"file": "T_River_Mask.png",
"channels": "R=foam G=tint B=noise",
"included": true
}
],
"simulation_spec": null,
"variants": [
{
"variant_id": "high",
"platform": "console_pc",
"switches": {
"quality": "high"
}
},
{
"variant_id": "mobile",
"platform": "mobile",
"switches": {
"quality": "low"
},
"replaces": "high",
"changes": [
"refraction removed",
"flow pan moved to vertex shader"
]
}
],
"cost_notes": {
"budget": "0.6 ms at 1080p, target console",
"high": {
"instructions": 212,
"samplers": 6,
"gpu_ms": 0.52,
"method": "gpu_capture"
},
"mobile": {
"instructions": 71,
"samplers": 2,
"gpu_ms": null,
"method": "artist_estimate"
}
},
"reference_renders": [
{
"variant_id": "high",
"file": "fx_river_surface_03.high.png",
"lighting": "overcast_01",
"time_s": 2.0
}
],
"change_history": [
{
"rev": 14,
"date": "2023-05-09",
"author_role": "technical_artist",
"message": "Cut second normal sample on mobile, over budget"
}
],
"license_origin": {
"authored": "in_house",
"derived_from": null
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Generate shaders from a description or image
Effects with source, parameters and a reference render give paired examples for models that write a material from a prompt or a target picture.
Translate between graph and code
A node graph beside its generated code supports models that turn graphs into HLSL, rebuild a graph from code, or port a shader between engines.
Optimize for a platform
Linked console, mobile and low-settings versions show the edits that bring a material inside a budget.
Explain and review shaders
Commit messages and budget notes supervise models that say what a graph does and name its costly parts.
Evaluate graphics coding agents
Held-out effects with reference renders make test items an agent must compile, render and match within a stated cost limit.
Use-case guides: Coding agents, Private evaluation sets, Robotics and embodied AI
What makes this data valuable
All three forms present
Graph, generated code and render exist for the same revision of the same effect.
Linked variants
Platform and quality versions sit under one effect ID with the change between them described.
Measured cost
Timings state the device, resolution, scene and capture tool, and estimates are marked as estimates.
Resolved references
Subgraphs, material functions, include files and textures are present, so graphs open and shaders compile.
Pinned engine version
Engine build and render pipeline are recorded per project, since a graph saved in one engine version may not open in an older one.
Origin marked
Each file is labeled as in-house work or as derived from an engine sample, tutorial or purchased pack.
Value drivers
Shader dataset
One effect as graph, generated code and render
Many materials in a current game are never typed as code. A technical artist wires nodes in Unreal's Material Editor or Unity's Shader Graph, and the engine translates the graph into HLSL, inserts it into its own shader template and compiles it for each target. The same effect therefore exists as a graph an artist can read, as generated code a compiler can read, and as pixels. Both editors can show the generated code, and an Unreal graph can hold Custom nodes with hand-written HLSL inside. With all three present, a model can learn to go from graph to code, from code back to a graph, and from a picture to either.
The three forms rarely sit together in an archive. Unity saves a Shader Graph as a text file, so two revisions can be compared line by line. Unreal stores a material inside a binary .uasset package, so version control holds a series of opaque files, and the node structure has to be written out with the editor's own tools for each revision you want. Generated code is a build product, regenerated on demand and seldom checked in. It depends on the engine version and target platform, and it is wrapped in the engine's own template code, which the studio did not write. Renders are scarcer still, because studios keep the effect in a level, not a labeled image of it.
So the triplet usually has to be assembled when a dataset is prepared, and the method is what to inspect. Ask that graphs be exported and code generated in the engine version the project was pinned to, with material functions and subgraphs included, since a graph with missing references opens broken. Ask that renders use a fixed mesh, lighting and camera, record the parameter values used, and fix the time and random seed for animated and particle effects.
Platform variants and frame-budget notes are the label
A shader has no correct answer, only a look bought at a cost. The limit is the frame budget. At 60 frames per second everything on screen shares under 17 milliseconds, and a full-screen effect or a cloud of overlapping particles can take a large part of it. So the same material gets written more than once. The console version samples several textures and computes refraction. The mobile version packs masks into the channels of one texture, drops the refraction, moves work from the pixel shader to the vertex shader and lowers numeric precision.
Held side by side, those versions show what an artist gave up and in what order, which unrelated shaders cannot teach. They are stored in several places. Unreal graphs carry quality and feature-level switch nodes inside one material. Unity shaders branch on keywords, and each added keyword set multiplies the number of compiled variants. Hand-written Unity shaders are typically kept once per render pipeline. Niagara scalability settings can scale down spawn counts, or switch emitters off, by quality level and platform. A delivery should link every variant of an effect under one ID, with its platform and tier.
The budget notes are scattered and worth collecting: commit messages that say why a texture sample was removed, instruction counts from the material editor's statistics panel, texture sampler counts, and timings from GPU captures in tools such as RenderDoc or PIX. An instruction count is a proxy, not a time, and a millisecond figure means little without the device, resolution and scene it was measured in. Ask which costs were measured, how and on what hardware, and which are an artist's estimate.
What to check before licensing
- Confirm that engine vendor sample code, starter content and marketplace shader packs are excluded, and ask how they were found: folder paths, package manifests, license headers or file hashes.
- For outsourcers and VFX houses, confirm the supplier holds rights in the work or that the client who commissioned it has agreed.
- Ask whether generated code still contains engine template code, and have counsel read the engine license before accepting code or assets that derive from the engine.
- Open a sample of graphs in the stated engine version and compile a sample of hand-written shaders. Count missing functions, subgraphs, includes and textures.
- Check that referenced textures belong to the supplier, since scanned material libraries and purchased texture packs carry their own terms.
- Verify that variants are linked and labeled by platform and tier, and that cost notes say which device, resolution and tool produced each number.
- Ask how history was kept for binary graph assets, how many revisions were exported as text and whether commit messages were retained.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What does one record in a shader dataset contain?
One record is one effect. It holds the node graph or hand-written source, the code generated from the graph where the engine produces it, exposed parameters and presets, references to textures, any platform and quality variants, cost notes and one or more reference renders. Particle effects add emitter and simulation settings.
Can Unreal Engine material graphs be delivered as text?
Only through an export step. Unreal keeps a material inside a binary .uasset package, which cannot be read or compared as text, so the node structure has to be written out by the editor. There is no single standard text format for that, so ask which tool or script produced the export. Ask for both the native asset and the text export, the engine build used, and how many past revisions were exported.
Is engine or marketplace shader code included?
It should not be. Engine source, sample projects, starter content and store-bought shader packs are published under their own licenses, so they do not belong in a set a studio licenses as its own work. They sit inside most projects, so ask how they were identified and removed.
Which shading languages and engines can be covered?
HLSL and GLSL source and node graphs from Unreal Engine and Unity are the common request, and what can be sourced depends on what studios hold and may license. Studios tend to hold HLSL, with GLSL where a project targets OpenGL, OpenGL ES or WebGL. Node graphs come from the Unreal Material Editor, Niagara, Unity Shader Graph and VFX Graph. Substance Designer graphs and offline shading networks from VFX houses are different assets, so name them separately.
Are reference renders stored by studios or made for the delivery?
Usually they have to be made for the delivery. Studios review effects in the running game and rarely keep a labeled image for each material. Renders mean loading the project in its engine and rendering each effect under fixed conditions, so put that step in your spec. Ask whether they came from the same engine build as the generated code.
How is this different from a game development archive?
A game development archive is one title's whole project, where shaders are a small part among models, levels, code and documents. A shader dataset takes that one discipline across projects, with each effect as graph, code and render, variants linked and cost recorded. If you need the meshes and levels the effects were applied to, request the archive.
Related datasets
- Game development archives and 3D assets
A studio's archive for one title: engine project, source, 3D assets, levels, design documents, builds and bugs
- Proprietary codebases with full history
Complete private repositories with full version history, build files, tests and docs
- Game cinematics and cutscenes with source files
Cutscenes with their source: boards, shot lists, timelines, camera tracks, capture takes, cleaned animation and render
- VFX shot files with versions and review notes
Per-shot plates, camera tracks, roto and paint, simulation setups, comp scripts, render passes and every submitted version with its notes
- 3D asset libraries with materials and textures
Standalone 3D models with UVs, PBR materials, texture maps, levels of detail, rigs and source scans, labeled by origin
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.