Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e3b9bf6
[render] add clearcoat values loading
dlupo2 Feb 7, 2026
3e7ec1b
[assets] add clearcoat examples
dlupo2 Feb 7, 2026
d679f4e
[render] complete clearcoat extension support
dlupo2 Feb 8, 2026
aaf9862
[render] add clearcoat to punctual lighting
dlupo2 Feb 8, 2026
d3d0d1d
Merge remote-tracking branch 'vclibMuntoni/dynamic_texture_stage' int…
dlupo2 Feb 10, 2026
b9096d8
[render] make clearcoat data loading analogous to other extensions
dlupo2 Feb 12, 2026
9d2a1e0
Merge remote-tracking branch 'vclibMuntoni/dynamic_texture_stage' int…
dlupo2 Feb 12, 2026
8408c0a
[assets] add ClearcoatWicker example asset
dlupo2 Feb 12, 2026
67ce4ca
[assets] add clearcoat asset and new panorama
dlupo2 Feb 19, 2026
a09a35d
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Mar 20, 2026
56c00ca
[render] small fixes and documentation
alemuntoni Mar 20, 2026
74cffea
[render] remove ClearCoatTest and Porsche models
alemuntoni Mar 23, 2026
3a7c3a0
[render] clearCoat small fixes
alemuntoni Mar 24, 2026
43fda9d
[render] PBR uber shader: tangent frame calculation now depends on no…
alemuntoni Mar 24, 2026
275f799
[render] Initialize tangentFrame matrix to mat3(1.0) in pbr surface s…
alemuntoni Mar 25, 2026
6646c9e
[render] Initialize tangentFrame matrix to mat3(1.0) in pbr surface s…
alemuntoni Mar 25, 2026
4c07f88
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Apr 1, 2026
78e6e50
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Jun 29, 2026
30f356c
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Jun 29, 2026
c1369a2
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Jul 1, 2026
27aa5bf
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Jul 2, 2026
1c441f5
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Aug 1, 2026
7afa34e
[render] add clearcoat to pbr tests
alemuntoni Aug 1, 2026
d1027c3
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Aug 2, 2026
ed2f495
Merge branch 'main' into pr/alemuntoni/33
alemuntoni Aug 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
173 changes: 173 additions & 0 deletions assets/example_meshes/gltf/ClearCoatCarPaint/ClearCoatCarPaint.gltf
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"asset": {
"version": "2.0",
"generator": "babylon.js glTF exporter for 3dsmax 2022 v20220210.4",
"copyright": "CC0, No Rights Reserved. Model and texture created by Eric Chadwick"
},
"extensionsUsed": [
"KHR_texture_transform",
"KHR_materials_clearcoat"
],
"extensionsRequired": [
"KHR_texture_transform",
"KHR_materials_clearcoat"
],
"scene": 0,
"scenes": [
{
"nodes": [
0
]
}
],
"nodes": [
{
"mesh": 0,
"translation": [
0.0,
0.5,
0.0
],
"name": "Sphere"
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"POSITION": 1,
"NORMAL": 2,
"TEXCOORD_0": 3
},
"indices": 0,
"material": 0
}
],
"name": "Sphere"
}
],
"accessors": [
{
"bufferView": 0,
"componentType": 5123,
"count": 9216,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 1728,
"max": [
0.5000792,
0.4901544,
0.5000792
],
"min": [
-0.5000792,
-0.490154475,
-0.5000792
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 20736,
"componentType": 5126,
"count": 1728,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"componentType": 5126,
"count": 1728,
"type": "VEC2",
"name": "accessorUVs"
}
],
"bufferViews": [
{
"buffer": 0,
"byteLength": 18432,
"name": "bufferViewScalar",
"target": 34963
},
{
"buffer": 0,
"byteOffset": 18432,
"byteLength": 41472,
"byteStride": 12,
"name": "bufferViewFloatVec3",
"target": 34962
},
{
"buffer": 0,
"byteOffset": 59904,
"byteLength": 13824,
"byteStride": 8,
"name": "bufferViewFloatVec2",
"target": 34962
}
],
"buffers": [
{
"uri": "ClearCoatCarPaint.bin",
"byteLength": 73728
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorFactor": [
0.7,
0,
0,
1
],
"metallicFactor": 0.3,
"roughnessFactor": 0.4
},
"normalTexture": {
"index": 0,
"scale": 0.2,
"extensions": {
"KHR_texture_transform": {
"scale": [
3,
3
]
}
}
},
"extensions": {
"KHR_materials_clearcoat": {
"clearcoatFactor": 1,
"clearcoatRoughnessFactor": 0
}
},
"doubleSided": false,
"name": "Clear Coat Car Paint"
}
],
"textures": [
{
"sampler": 0,
"source": 0,
"name": "ClearCoatCarPaint_Normal.png"
}
],
"images": [
{
"uri": "ClearCoatCarPaint_Normal.png"
}
],
"samplers": [
{
"magFilter": 9729,
"minFilter": 9987
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
189 changes: 189 additions & 0 deletions assets/example_meshes/gltf/ClearcoatWicker/ClearcoatWicker.gltf
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
{
"asset": {
"version": "2.0",
"generator": "babylon.js glTF exporter for 3dsmax 2022 v20220210.4",
"copyright": "CC0, No Rights Reserved. Model and textures created by Eric Chadwick."
},
"extensionsUsed": [
"KHR_materials_clearcoat"
],
"scene": 0,
"scenes": [
{
"nodes": [
0
]
}
],
"nodes": [
{
"mesh": 0,
"translation": [
0.0,
0.5,
0.0
],
"name": "Sphere"
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"POSITION": 1,
"NORMAL": 2,
"TEXCOORD_0": 3
},
"indices": 0,
"material": 0
}
],
"name": "Sphere"
}
],
"accessors": [
{
"bufferView": 0,
"componentType": 5123,
"count": 9216,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 1728,
"max": [
0.5000792,
0.4901544,
0.5000792
],
"min": [
-0.5000792,
-0.490154475,
-0.5000792
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 20736,
"componentType": 5126,
"count": 1728,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"componentType": 5126,
"count": 1728,
"type": "VEC2",
"name": "accessorUVs"
}
],
"bufferViews": [
{
"buffer": 0,
"byteLength": 18432,
"name": "bufferViewScalar",
"target": 34963
},
{
"buffer": 0,
"byteOffset": 18432,
"byteLength": 41472,
"byteStride": 12,
"name": "bufferViewFloatVec3",
"target": 34962
},
{
"buffer": 0,
"byteOffset": 59904,
"byteLength": 13824,
"byteStride": 8,
"name": "bufferViewFloatVec2",
"target": 34962
}
],
"buffers": [
{
"uri": "ClearcoatWicker.bin",
"byteLength": 73728
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
},
"metallicFactor": 1,
"roughnessFactor": 1,
"metallicRoughnessTexture": {
"index": 2
}
},
"occlusionTexture": {
"index": 2
},
"normalTexture": {
"index": 1,
"scale": 1
},
"extensions": {
"KHR_materials_clearcoat": {
"clearcoatFactor": 1,
"clearcoatNormalTexture": {
"index": 3
},
"clearcoatRoughnessFactor": 0.1
}
},
"name": "ClearcoatWicker"
}
],
"textures": [
{
"sampler": 0,
"source": 0,
"name": "wicker_basecolor.png"
},
{
"sampler": 0,
"source": 1,
"name": "wicker_normal.png"
},
{
"sampler": 0,
"source": 2,
"name": "wicker_occlusion-rough-metal.png"
},
{
"sampler": 0,
"source": 3,
"name": "clearcoat_normal.png"
}
],
"images": [
{
"uri": "wicker_basecolor.png"
},
{
"uri": "wicker_normal.png"
},
{
"uri": "wicker_occlusion-rough-metal.png"
},
{
"uri": "clearcoat_normal.png"
}
],
"samplers": [
{
"magFilter": 9729,
"minFilter": 9987
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/panoramas/st_peter.exr
Binary file not shown.
Loading
Loading