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 年前
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 年前
sebastienlagarde
0067d748
HDRenderLoop: Update shader generation code for debug with last change
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
6d674ea7
forgot to commit a file
8 年前
Evgenii Golubev
41003740
Add support of 'bool' to the ShaderGenerator
8 年前
Paul Demeulenaere
102b0ab8
- Unlit shader graph node
- Plug materialID (automatically deducted from GetMatchingMaterialID)
8 年前
Tim Cooper
2b3f2f91
[refactor namespace]
UnityEngine.Experimental.ScriptableRenderLoop -> UnityEngine.Experimental.Rendering
UnityEngine.Experimental.ScriptableRenderLoop -> UnityEngine.Experimental.Rendering.{LoopName}
8 年前
Paul Demeulenaere
40290c81
Merge remote-tracking branch 'origin/master' into scriptablerenderloop-materialgraph
# Conflicts:
# Assets/ScriptableRenderLoop/HDRenderPipeline/ShaderVariables.hlsl
8 年前
Tim Cooper
c30d33b8
[Format]Reformat via format.pl to match the new conventions
8 年前
vlad-andreev
55b0257f
tabs->spaces in shader generation
7 年前
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.
7 年前
sebastienlagarde
36f2d0de
Update hlsl generator for nested class and regenerate file for HD
7 年前
sebastienlagarde
90e6b108
Forget hlsl generator file
7 年前
sebastienlagarde
9801577c
Change code generation to allow multiple debug case for the same field. allow debug view normal
7 年前
Sebastien Lagarde
ea8ce865
First draft
7 年前
Sebastien Lagarde
946c1494
Shader generation now working
7 年前
Julien Ignace
51790cf9
(WIP) Added debug exposure to material debug views.
7 年前
sebastienlagarde
16cef1a8
Update include generator to use space instead of tabs
6 年前