@triforge/shader-core 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +26 -1
- package/dist/core/CompileContext.d.ts.map +1 -1
- package/dist/core/CompileContext.js +33 -27
- package/dist/core/glslIdentifier.d.ts +17 -0
- package/dist/core/glslIdentifier.d.ts.map +1 -0
- package/dist/core/glslIdentifier.js +37 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/nodes/input/Attribute.d.ts +1 -1
- package/dist/nodes/input/Attribute.d.ts.map +1 -1
- package/dist/nodes/input/Attribute.js +8 -1
- package/dist/nodes/input/CameraData.d.ts +1 -1
- package/dist/nodes/input/ColorAttribute.d.ts +1 -1
- package/dist/nodes/input/Geometry.d.ts +1 -1
- package/dist/nodes/input/HairInfo.d.ts +1 -1
- package/dist/nodes/input/LayerWeight.d.ts +1 -1
- package/dist/nodes/input/LightPath.d.ts +1 -1
- package/dist/nodes/input/ObjectInfo.d.ts +1 -1
- package/dist/nodes/input/OceanAttribute.d.ts +1 -1
- package/dist/nodes/input/ParticleInfo.d.ts +1 -1
- package/dist/nodes/input/RGB.d.ts +1 -1
- package/dist/nodes/input/ScreenCamera.d.ts +1 -1
- package/dist/nodes/input/Tangent.d.ts +1 -1
- package/dist/nodes/input/TextureCoordinate.d.ts +1 -1
- package/dist/nodes/input/UVMap.d.ts +1 -1
- package/dist/nodes/input/Value.d.ts +1 -1
- package/dist/nodes/input/Wireframe.d.ts +1 -1
- package/dist/nodes/output/MaterialOutput.d.ts +1 -1
- package/dist/nodes/output/ScreenOutput.d.ts +1 -1
- package/dist/nodes/process/AddShader.d.ts +1 -1
- package/dist/nodes/process/AnimatedNoiseTexture.d.ts +1 -1
- package/dist/nodes/process/Blackbody.d.ts +1 -1
- package/dist/nodes/process/BrickTexture.d.ts +1 -1
- package/dist/nodes/process/BrightContrast.d.ts +1 -1
- package/dist/nodes/process/Bump.d.ts +1 -1
- package/dist/nodes/process/CheckerTexture.d.ts +1 -1
- package/dist/nodes/process/Clamp.d.ts +1 -1
- package/dist/nodes/process/ColorRamp.d.ts +1 -1
- package/dist/nodes/process/CombineColor.d.ts +1 -1
- package/dist/nodes/process/CombineRGB.d.ts +1 -1
- package/dist/nodes/process/CombineXYZ.d.ts +1 -1
- package/dist/nodes/process/DiffuseBSDF.d.ts +1 -1
- package/dist/nodes/process/Emission.d.ts +1 -1
- package/dist/nodes/process/EnvironmentTexture.d.ts +1 -1
- package/dist/nodes/process/EnvironmentTexture.d.ts.map +1 -1
- package/dist/nodes/process/EnvironmentTexture.js +2 -0
- package/dist/nodes/process/FloatCurve.d.ts +1 -1
- package/dist/nodes/process/Fresnel.d.ts +1 -1
- package/dist/nodes/process/Gamma.d.ts +1 -1
- package/dist/nodes/process/GlassBSDF.d.ts +1 -1
- package/dist/nodes/process/GlossyBSDF.d.ts +1 -1
- package/dist/nodes/process/GradientTexture.d.ts +1 -1
- package/dist/nodes/process/HashValue.d.ts +1 -1
- package/dist/nodes/process/HueSaturationValue.d.ts +1 -1
- package/dist/nodes/process/ImageTexture.d.ts +1 -1
- package/dist/nodes/process/ImageTexture.d.ts.map +1 -1
- package/dist/nodes/process/ImageTexture.js +2 -0
- package/dist/nodes/process/InvertColor.d.ts +1 -1
- package/dist/nodes/process/MagicTexture.d.ts +1 -1
- package/dist/nodes/process/MapRange.d.ts +1 -1
- package/dist/nodes/process/Mapping.d.ts +1 -1
- package/dist/nodes/process/Math.d.ts +1 -1
- package/dist/nodes/process/MixRGB.d.ts +1 -1
- package/dist/nodes/process/MixShader.d.ts +1 -1
- package/dist/nodes/process/MusgraveTexture.d.ts +1 -1
- package/dist/nodes/process/NoiseTexture.d.ts +1 -1
- package/dist/nodes/process/Normal.d.ts +1 -1
- package/dist/nodes/process/NormalMap.d.ts +1 -1
- package/dist/nodes/process/PrincipledBSDF.d.ts +1 -1
- package/dist/nodes/process/PrincipledHair.d.ts +1 -1
- package/dist/nodes/process/PrincipledVolume.d.ts +1 -1
- package/dist/nodes/process/RGBCurves.d.ts +1 -1
- package/dist/nodes/process/RGBtoBW.d.ts +1 -1
- package/dist/nodes/process/RefractionBSDF.d.ts +1 -1
- package/dist/nodes/process/SchwarzschildMarch.d.ts +1 -1
- package/dist/nodes/process/SeparateColor.d.ts +1 -1
- package/dist/nodes/process/SeparateRGB.d.ts +1 -1
- package/dist/nodes/process/SeparateXYZ.d.ts +1 -1
- package/dist/nodes/process/ShaderScript.d.ts +1 -1
- package/dist/nodes/process/ShaderToRGB.d.ts +1 -1
- package/dist/nodes/process/SheenBSDF.d.ts +1 -1
- package/dist/nodes/process/SpecularBSDF.d.ts +1 -1
- package/dist/nodes/process/SubsurfaceScattering.d.ts +1 -1
- package/dist/nodes/process/ToonBSDF.d.ts +1 -1
- package/dist/nodes/process/TranslucentBSDF.d.ts +1 -1
- package/dist/nodes/process/VectorCurves.d.ts +1 -1
- package/dist/nodes/process/VectorMath.d.ts +1 -1
- package/dist/nodes/process/VectorRotate.d.ts +1 -1
- package/dist/nodes/process/VectorTransform.d.ts +1 -1
- package/dist/nodes/process/VolumeAbsorption.d.ts +1 -1
- package/dist/nodes/process/VolumeScatter.d.ts +1 -1
- package/dist/nodes/process/VoronoiTexture.d.ts +1 -1
- package/dist/nodes/process/WaveTexture.d.ts +1 -1
- package/dist/nodes/process/Wavelength.d.ts +1 -1
- package/dist/nodes/process/WhiteNoise.d.ts +1 -1
- package/package.json +50 -44
package/package.json
CHANGED
|
@@ -1,44 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@triforge/shader-core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "GLSL shader library for Three.js with Blender workflow",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist",
|
|
10
|
-
"package.json"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc && esbuild src/index.ts --bundle --format=esm --external:three --outfile=dist/bundle.js",
|
|
14
|
-
"dev": "tsc --watch",
|
|
15
|
-
"test": "node test/run-tests.js"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"shader",
|
|
19
|
-
"glsl",
|
|
20
|
-
"three.js",
|
|
21
|
-
"materials",
|
|
22
|
-
"blender"
|
|
23
|
-
],
|
|
24
|
-
"author": "Aftab Ibrahim Kazi",
|
|
25
|
-
"license": "MIT",
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"three": ">=0.128.0"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"@types/three": "^0.156.0",
|
|
31
|
-
"esbuild": "^0.28.0",
|
|
32
|
-
"three": "^0.156.0",
|
|
33
|
-
"typescript": "^5.3.0"
|
|
34
|
-
},
|
|
35
|
-
"repository": {
|
|
36
|
-
"type": "git",
|
|
37
|
-
"url": "https://github.com/AftabIbrahimKazi/triforge.git",
|
|
38
|
-
"directory": "st-shader-core"
|
|
39
|
-
},
|
|
40
|
-
"homepage": "https://github.com/AftabIbrahimKazi/triforge#readme",
|
|
41
|
-
"publishConfig": {
|
|
42
|
-
"access": "public"
|
|
43
|
-
}
|
|
44
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@triforge/shader-core",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "GLSL shader library for Three.js with Blender workflow",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"package.json"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc && esbuild src/index.ts --bundle --format=esm --external:three --outfile=dist/bundle.js",
|
|
14
|
+
"dev": "tsc --watch",
|
|
15
|
+
"test": "node test/run-tests.js"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"shader",
|
|
19
|
+
"glsl",
|
|
20
|
+
"three.js",
|
|
21
|
+
"materials",
|
|
22
|
+
"blender"
|
|
23
|
+
],
|
|
24
|
+
"author": "Aftab Ibrahim Kazi",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"three": ">=0.128.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/three": "^0.156.0",
|
|
31
|
+
"esbuild": "^0.28.0",
|
|
32
|
+
"three": "^0.156.0",
|
|
33
|
+
"typescript": "^5.3.0"
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://github.com/AftabIbrahimKazi/triforge.git",
|
|
38
|
+
"directory": "st-shader-core"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/AftabIbrahimKazi/triforge#readme",
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"exports": {
|
|
45
|
+
".": {
|
|
46
|
+
"import": "./dist/index.js",
|
|
47
|
+
"types": "./dist/index.d.ts"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|