You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54-36Lines changed: 54 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,27 @@
4
4
5
5
DreamShader is an Unreal Engine plugin for authoring materials and material functions with text source files. It introduces `DreamShaderLang`, a compact DSL that turns `.dsm`, `.dsf`, and `.dsh` files into Unreal `UMaterial`, `UMaterialFunction`, Material Layer, and Material Layer Blend assets.
6
6
7
-
> Current version: `1.3.6`.
8
-
>
9
-
> DreamShader is actively developed. The core authoring workflow is usable, but you should keep all `.dsm` / `.dsf` / `.dsh` files in source control.
10
-
>
11
-
> The plugin is currently developed against Unreal Engine `5.7`. Other engine versions have not been fully tested.
7
+
8
+
9
+
**Tip**
10
+
11
+
12
+
13
+
> Current version: `1.3.6`.
14
+
>
15
+
>
16
+
> DreamShader is still under active development, but the core workflow is already available. It is recommended to include all `.dsm` / `.dsf` / `.dsh` source files in version control.
17
+
>
18
+
>
19
+
> This plugin is currently developed based on Unreal Engine `5.7`. Other versions have not been fully tested yet.
20
+
21
+
22
+
23
+
24
+
25
+
> Currently, the decompiler can pass some of the large-scale material/material function tests of Lyra, but it is still not stable. Please use it with caution. Small materials are basically supported normally. If you have any issues, please submit them as Issues.
26
+
27
+
12
28
13
29
For bug reports and feature requests, open an [issue](https://github.com/TypeDreamMoon/DreamShader/issues/new). For faster Chinese-language support, you can also join the [QQ group 466585194](https://qm.qq.com/q/X9uCLjVcY).
14
30
@@ -29,21 +45,21 @@ For bug reports and feature requests, open an [issue](https://github.com/TypeDre
29
45
30
46
## Source Model
31
47
32
-
| Item | Purpose |
33
-
| --- | --- |
34
-
|`.dsm`| Material implementation file. Usually contains `Shader`, `ShaderFunction`, `ShaderLayer`, `ShaderLayerBlend`, or `VirtualFunction` blocks. |
35
-
|`.dsf`| Dream Shader Function file. Generates reusable `ShaderFunction` assets that can be imported by `.dsm` files. |
36
-
|`.dsh`| Shared header file. Usually contains `import`, `Function`, `GraphFunction`, `Namespace`, and `VirtualFunction` declarations. |
37
-
|`Shader`| Generates an Unreal `UMaterial`. |
38
-
|`ShaderFunction`| Generates an Unreal `UMaterialFunction`. |
39
-
|`ShaderLayer`| Generates a native `UMaterialFunctionMaterialLayer`. |
40
-
|`ShaderLayerBlend`| Generates a native `UMaterialFunctionMaterialLayerBlend`. |
41
-
|`VirtualFunction`| Describes an existing Unreal `UMaterialFunction` so it can be called from `Graph`. |
42
-
|`Graph`| Node-oriented DSL used inside generated materials and functions. |
43
-
|`Function`| Reusable HLSL-style helper. |
44
-
|`GraphFunction`| Reusable Custom-node helper that can pull `UE.*` material nodes into generated Custom inputs. |
45
-
|`Namespace`| Groups helpers, for example `Texture::Sample2DRGB(...)`. |
46
-
|`Path(...)`| Declares Unreal asset paths for textures, object settings, or virtual functions. |
0 commit comments