sebastienlagarde
1ec6d8b9
First set of files
First set of files submit to iniate the project and be able to work from
home :)
This is WIP and files will move/change.
For now just a set of file mostly empty, setup name etc...
8 年前
sebastienlagarde
2fae393e
More work
More work
8 年前
sebastienlagarde
76f890ea
Very minimal loop done, display red shader
Very minimal loop done, display red shader
8 年前
sebastienlagarde
aa06ca56
Minimal loop wit forward shader
Not working currently miss C# side
8 年前
sebastienlagarde
940b6d13
Update ShaderLibrary and UnityStandard code
Several addition.
Add a forward and deferred pass not working with lighting
Add pack/unpack attribute
Reoarganize some file
better header dependecy
Remove platform, will not be used
8 年前
sebastienlagarde
5ac28581
Change LightingDefinition.hlsl to LightDefinition.cs
Allow to share code between hlsl and C# like Morten, also add define in
common.hlsl that was in common.h for Morten
8 年前
Sebastien Lagarde
6a00b2b9
Add misc function for deferred rendering
- Add world reconstruction function
- Add macro to abstrct GBuffer
- Add lighting information into SurfaceData and BSDFData
- Clean / comment some stuff
Note: forward and deferred code do not produce lighting for now
8 年前
sebastienlagarde
36c50926
HDRenderLoop: Add builtin data structure + add velocity buffer
- Add velocity buffer as an experiment for the design
- Split surface data into surface data and builtin data (engine side for
lightmap etc...)
8 年前
vlad-andreev
81aa39a3
switched HDRenderLoop over to generated .hlsl
8 年前
sebastienlagarde
5e5b4fcb
HDRenderLoop : Fix after merge
8 年前
sebastienlagarde
acd11ee0
HDRenderLoop Rename DisneyGGX to Li and convert to whitesapce convention
8 年前
Sebastien Lagarde
bb06ff58
HDRenderLoop: Update Debug view mode for new parameters
+ Automatic update of inspector
+ create Debug Paramters function to call for builtin data, varyings and
surfaceData
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 年前
sebastienlagarde
b2a49403
HDRenderLoop; start support of reflection probe
- Add texture abstration in API
- Add imagebasedlighting.hlsl
- Add divide pi version of BSDF
- Change resolution of cubemap as 128
- Misc stuff
8 年前
sebastienlagarde
fe99ce30
HDRenderLoop: Add PreLightData concept (optimization)
- Add PrelightData concept: variable that you can precompute ahead of
calling the lighting loop
- Various stuff related to that: BRDF recomputed LambdaV version etc...
8 年前
vlad-andreev
bf6e54c5
tabs -> spaces
8 年前
sebastienlagarde
feca166f
Merge remote-tracking branch 'origin/master'
# Conflicts:
# Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs
# Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Debug/DebugViewMaterialGBuffer.shader
# Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Lighting/LightingForward.hlsl
# Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Material/Lit.hlsl
# Assets/ScriptableRenderLoop/ShaderLibrary/Common.hlsl
8 年前
Sebastien Lagarde
a703417e
HDRenderLoop: Continue to work on implementing parallax cubemap
- Finish shader side, need to fix C++ side + generate specularDFG
texture
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 年前
Sebastien Lagarde
ba76c316
HDRenderLoop: Move a lot of files for better classification
8 年前
sebastienlagarde
3234ad1e
HDRenderLoop: Add area light code (not working)
8 年前
sebastienlagarde
fb24c2f6
HDRenderLoop: Remove Assets/ScriptableRenderLoop/ShaderLibrary from header path
8 年前
Sebastien Lagarde
2ffcb7f1
HDRenderLoop: Misc test
8 年前
sebastienlagarde
8cf763ef
HDRenderLoop: Add concept of lightLoopContext to handle various sampling scheme
8 年前
sebastienlagarde
f53cd1c7
HDRenderloop: Progress in supporting IES and shadowmap
- Add AffectDiffuse/AffectSpecular/GetShadowDimmer UI
- Add draft of shadow map support (not working)
- Add IES in shader (not in light)
- Add LightLoopContext struct
- Add various Texture/sampler macro
- Add GetCubeFaceID
- misc stuff
8 年前
Sebastien Lagarde
55ac2b41
HDRenderLoop: Add shadow.hlsl - refine design of shadowmap (not working yet)
8 年前
sebastienlagarde
fd7cfe17
HDRenderLoop: Move file/create file/Rename stuff - Related to lighting and shadow
- Effort on shadow design still need to be done
8 年前
Sebastien Lagarde
d75972a9
HDRenderLoop: Add LightProbe + ProbeVolume support (not tested)
8 年前
Sebastien Lagarde
e7a1bb1b
HDRenderLoop: Update to new texture abstraction everywhere
8 年前
Sebastien Lagarde
b945ef44
HDRenderLoop: Add velocity buffer support (C# side)
8 年前
Sebastien Lagarde
c03433e2
HDRenderLoop: Add velocity shader pass
8 年前
Sebastien Lagarde
7443a077
HDRenderLoop: Fixed issue with velocity pass + fix shader warning
- GBuffer velocity can't work as we miss prevPosition Attribute in
GBuffer pass
- #define can't be include in C# from another file...
8 年前
Sebastien Lagarde
40f9dda4
HDRenderLoop: Update for velociy buffer + several stuff/fix/refactor
-fix issue with spotAngle that have been change in the light component
- remove undesired unrachable code warning
- create a proper shader config system (previous one was nor working)
- Change concept of material gbuffer to also include lighting, remove
all lighting buffer macro, bakeDiffuseLighting now pass to encode to
gbuffer
- deferred material is now in charge of all material RT format, lighting
buffer included
- velocity buffer is independt of deferred material
- add first start of distortion
- update velocity buffer management + add velocity pass
-
8 年前
Sebastien Lagarde
25234e00
HDRenderLoop: Test about packing all GBufer in two RT U16
This will not work for now but allow to stress the design in some comple
case. May be remove later or adapted
8 年前
Sebastien Lagarde
efa7c787
HDRenderLoop: Clean packed Gbuffer code in Uint16 + packing functions
- It still doesn't work as UINT16 RT is not supported by Unity :(
- packing.hlsl need some convention/naming cleanup
8 年前
Julien Ignace
c14da547
Fixed compilation of lit shader.
8 年前
Sebastien Lagarde
a91df7f9
HDRenderLoop: Merge FTPL - application of opaque tiled lists (untested)
8 年前
Evgenii Golubev
b6c3976f
Move the dominant specular direction to PreLightData
8 年前