vlad-andreev
84f60431
Shader generator
To reflect a C# struct or class, attach the [GenerateHLSL] attribute to
it. The optional packing parameter is PackingRules.Exact (default),
which emits the struct as is. PackingRules.Aggressive will result in a
tight packing subject to some restrictions. Static primitive fields are
emitted as #defines.
8 年前
vlad-andreev
8adb2307
shader generator: switch to consistent line endings
8 年前
Sebastien Lagarde
de43ba96
HDRenderLoop: Add automatic support for material propery debug
- Modify shader generator to automatically generate define from struct
- Add attribute to be able to control display name and enum start value
- Refactor the whole debugging code for debug view material properties
- Rename a few thing
8 年前
vlad-andreev
32b466e2
add enum support to hlsl generator
8 年前
vlad-andreev
55ec4129
hlsl generator: tabs->spaces
8 年前
vlad-andreev
bf6e54c5
tabs -> spaces
8 年前
Sebastien Lagarde
698d1646
HDRenderLoop: Move GBuffer description to Lit.cs
- So a material can define easily what kind of GBuffer it use without
having to dig into HDRenderLoop code
8 年前
vlad-andreev
3e91c5e0
code cleanup part deux
8 年前
vlad-andreev
3b8e0543
moved to the experimental namespace
8 年前
vlad-andreev
070a44dc
added include guards to hlsl codegen
8 年前
Tim Cooper
2b3f2f91
[refactor namespace]
UnityEngine.Experimental.ScriptableRenderLoop -> UnityEngine.Experimental.Rendering
UnityEngine.Experimental.ScriptableRenderLoop -> UnityEngine.Experimental.Rendering.{LoopName}
8 年前
sebastienlagarde
68b2246c
HDrenderPipeline: Generate hlsl debug functions
Instead of wrtiting functions by hand user can now call generated debug
function and override thing he/she want.
8 年前
sebastienlagarde
36f2d0de
Update hlsl generator for nested class and regenerate file for HD
8 年前
Sebastien Lagarde
9f87b816
Remove file path header from shader generator generated files as it depends on users folder and cause conflict
7 年前
Paul Melamed
3b75ece2
temp fixed include issues for some .compute shaders
added metal, smoothness to decals
7 年前
sebastienlagarde
99e8024a
Fix enumeration of assembly for CsharpToHLSL
7 年前
Frédéric Vauchelles
78f1ddf8
[PlanarProbe] Include custom HLSL files with shader generator
7 年前
Sebastien Lagarde
ea8ce865
First draft
7 年前
Sebastien Lagarde
946c1494
Shader generation now working
7 年前
Frédéric Vauchelles
4fbb1c4f
(wip) Added refraction model
7 年前
Frédéric Vauchelles
d61424da
Commented code specific to 4.x .NET runtime
7 年前
Frédéric Vauchelles
3320fc64
Skip in memory assemblies for the shader generator
7 年前
Tim Cooper
fafb59af
Run code formatter.
7 年前