Evgenii Golubev
a14273a0
Factor out volumetric lighting code
7 年前
Sebastien Lagarde
1641bba9
HDRenderPipeline: Fix various warning in csharp and shader
7 年前
sebastienlagarde
7934dae3
HDRenderPipeline: Refactor shader pass code + fix issue with error detection in editor
This PR clean the error code detection of legacy shader that was drawing
in every pass
It fix an issue with Prepass that was not always correctly handled with
forward only
It clean the code to avoid redundant call of forward pass
It reduce memory allocation by precomputing shader pass name
7 年前
Thomas
2cdd3c12
Moved most of HDRP utilities to Core
7 年前
Thomas
895c04b2
Improved ProfilingSample API
7 年前
Thomas
076b0d65
Cleaned up unused usings
7 年前
Robert Srinivasiah
27b4f37f
WIP of RT prototype
Not done yet
7 年前
Evgenii Golubev
a46c0009
Merge the old volumetrics code (WIP)
7 年前
Evgenii Golubev
c212b126
Clean up the volumetric lighting code
7 年前
Evgenii Golubev
6bddcac5
Properly clear the render target
7 年前
Evgenii Golubev
781173e9
Properly clear the render target
7 年前
Evgenii Golubev
43d373d4
TODO: should we divide by ray segment length?
7 年前
Evgenii Golubev
d1c74bcb
Merge branch 'master'
7 年前
Evgenii Golubev
00f52eb2
Improve memory management of the VBuffer
7 年前
Evgenii Golubev
7b797ff7
Merge branch 'master'
7 年前
Evgenii Golubev
8ee2d44f
Merge 'master'
7 年前
Evgenii Golubev
81d62eb8
Merge branch 'master'
7 年前
Evgenii Golubev
78563feb
Merge branch 'master'
7 年前
Evgenii Golubev
fc06d6c6
Move V-buffer sampling to AtmosphericScattering.hlsl
7 年前
Evgenii Golubev
016a51ff
Prepare the volumetric reprojection framework
7 年前
Evgenii Golubev
9b7488e1
Factor out EvaluateVoxelLighting()
7 年前
Evgenii Golubev
a013ecb1
Improve the reprojection quality
7 年前
Evgenii Golubev
97ac113b
Add sphere-packed offsets in XY
7 年前
Evgenii Golubev
3bacf43d
Add a kernel without reprojection just for the Editor
7 年前
Evgenii Golubev
0bc6de30
Use RGBHalf - appears to be fixed
7 年前
Evgenii Golubev
12ec89ac
Rotate the sampling pattern by 15 degrees in order to maximize the resolution along X and Y
7 年前
Evgenii Golubev
6b3fada4
Remove the pattern rotation and add comments
7 年前
GitHub
cc837bbc
Add comments
7 年前
Evgenii Golubev
bfa0fe64
Reintroduce the sampling pattern rotation
7 年前
Evgenii Golubev
24634f16
Reduce the reliance on macros for sampling the V-Buffer
7 年前
Evgenii Golubev
389ea636
Move the volumetric lighting preset to ShaderConfig
7 年前
Evgenii Golubev
3edb0ad6
Add support for multiple VBuffer views
7 年前
Evgenii Golubev
decbf974
Clearing a 3D texture doesn't seem to work
7 年前
Evgenii Golubev
b323dae6
Small bugfixes
7 年前
GitHub
26be26ee
Add a TODO
7 年前
Evgenii Golubev
9e4045c2
Make VBuffer view handling less error prone
7 年前
Evgenii Golubev
5db1724a
Factor out VolumetricLightingModule
7 年前
Evgenii Golubev
9a866381
Perform a minor clean up
7 年前
Evgenii Golubev
ffea0999
Add more phase functions
7 年前
Remy
2a269903
Evgenii : Fix volumetric lighting causing assertion in new scene
7 年前
Evgenii Golubev
1ef2e80a
Use an improved (generalized) depth distribution
7 年前
Evgenii Golubev
03f7d07a
Add preliminary ambient probe support
7 年前
Evgenii Golubev
7ce9f50d
Fix issues with domain reload
7 年前
Evgenii Golubev
4ab61ec7
Add basic light probe support to volumetric lighting
7 年前
Evgenii Golubev
f551dea4
Fix issues with viewID
7 年前
Evgenii Golubev
3d08aa2e
Use the Cornette-Shanks phase function for the ambient lighting
7 年前
Evgenii Golubev
58c2d521
Mark functions as static
7 年前
Evgenii Golubev
f1562a13
Optimize the SH code
7 年前
Evgenii Golubev
5cde6c51
Further optimize the SH code
7 年前
Evgenii Golubev
78ee066f
Precompute the phase constant
7 年前
Evgenii Golubev
79e2a564
Fix formatting
7 年前
Evgenii Golubev
a2f434d5
Reduce the number of slices by 2x
7 年前
Evgenii Golubev
7783b967
Remove "unsafe"
7 年前
Evgenii Golubev
cf3f599b
Use Peter-Pike's shader code
7 年前
Evgenii Golubev
fede07d1
Clean up
7 年前
Evgenii Golubev
7552aebb
Factor out the SH code
7 年前
Evgenii Golubev
840edb50
Implement frustum-OBB culling
7 年前
Evgenii Golubev
2b155faa
Move the OrientedBBox code
7 年前
Evgenii Golubev
521d4a50
Add a Frustum struct
7 年前
Evgenii Golubev
b4da729b
Refactor things again to [GenerateHLSL]
7 年前
Evgenii Golubev
1df1dda7
Rename: "_GlobalFog" -> "_Global", "HomogeneousFog" -> "HomogeneousMediumVolume"
7 年前
Evgenii Golubev
dcf10d1d
Add a ComputeBuffer for participating media volumes
7 年前
Evgenii Golubev
fdd5cb7f
Ignore VBuffer scale
This means there is some fractional error if the screen size is not a multiple of 8 (or 4, depending on settings), but the error is typically less than 1%, so it's not very visible.
7 年前
Evgenii Golubev
0c573a4a
Rename "HomogeneousMediumVolume" to "HomogeneousDensityVolume"
7 年前
Evgenii Golubev
e6540dfa
Implement clustering of density volumes
7 年前
sebastienlagarde
116379ee
Add memory RT name/information everywhere
7 年前
Evgenii Golubev
070349c8
Merge branch 'master'
7 年前
Evgenii Golubev
2bf107d2
Rename to follow convention
7 年前
Evgenii Golubev
e768893e
Merge branch 'master'
7 年前
Evgenii Golubev
c20517f6
Add a stub for the volume voxelization pass
7 年前
Evgenii Golubev
2047b333
Use a single wavefront group for the volumetric lighting shader
7 年前
Evgenii Golubev
98ba5ff6
Prepare the volume voxelization stub
7 年前
Evgenii Golubev
3a7560c2
Move handling of camera-relative rendering from GeometryUtils()
7 年前
Evgenii Golubev
f8b3df68
Implement soft semi-conservative voxelization
7 年前
Evgenii Golubev
68e4eace
Implement the soft voxelization hack
7 年前
Evgenii Golubev
2202a083
Remove UnityPerCamera, introduce UnityPerView
7 年前
Evgenii Golubev
5ef3dc32
Fix issue with out-of-bounds look-ups in the clustered data structure
7 年前
Evgenii Golubev
8d663ac4
Merge upstream/master
7 年前
Evgenii Golubev
ed476664
Remove leftover SetupComputeShader() call
7 年前
Evgenii Golubev
999f9fa8
Merge branch 'master' of https://github.com/Unity-Technologies/ScriptableRenderPipeline
7 年前
Evgenii Golubev
69dfe3f6
Switch to the volume system WIP
7 年前
Evgenii Golubev
e788c519
Port global density volumes to the interpolation volume system
7 年前
Evgenii Golubev
248f6d04
Fix formatting
7 年前
Evgenii Golubev
e2268362
Update comments
7 年前
Evgenii Golubev
ad3d1e7c
Enable volumetric fog by default
7 年前
Evgenii Golubev
b587ca91
Optimize DecodeLogarithmicDepthGeneralized()
7 年前
Evgenii Golubev
00676317
Introduce the VolumetricLightingController component
7 年前
Evgenii Golubev
49245612
Update comment
7 年前
Raymond Graham
17d381ab
Volumetric system use the list of fog volumes from the manager.
7 年前
Raymond Graham
29eb0f1f
3D texture sampling in homogeneous volumes.
7 年前
Raymond Graham
667f9ee7
Adding support for 3D textures to mask local homogeneous fog volumes.
7 年前
Raymond Graham
2e819225
Volumetric updates from Evgenii
7 年前
Raymond Graham
2952dd59
Updates based on feedback. VolumeTextureAtlas now a Alpha8 texture. DensityVolume renamed.
7 年前
GitHub
3845c0cb
Merge pull request #1268 from Unity-Technologies/volumetric-lighting-updates
Manager for the density volumes
7 年前
Evgenii Golubev
0be42a4f
Use correct terminology: rename "asymmetry" -> "anisotropy"
According to d'Eon, asymmetric scattering occurs due to anisotropic phase functions in anisotropic participating media.
7 年前
Evgenii Golubev
32c0fc42
Port integral and density buffers to the RTHandle system
7 年前
Evgenii Golubev
f1877508
Update GetRenderTargetAutoName() to support volume textures
7 年前
Evgenii Golubev
4c75cacd
Port VBuffers to the RTHandle system
7 年前
Evgenii Golubev
e7f0a6d1
Fix issues with light leaking in volumetric lighting
(due to sub-allocation (resource aliasing) of the RTHandle system)
7 年前
Evgenii Golubev
91dc696c
Merge upstream/master
7 年前
Evgenii Golubev
9c05b5af
Clean up the comments
7 年前
Evgenii Golubev
98510e9c
Port the VolumetricLightingController to the Interpolation Volume framework
7 年前
Evgenii Golubev
5216c6eb
Fix the infinite recursion bug in the VolumetricLightingSystem
7 年前
sebastienlagarde
01cd6f98
Add FrameSettings to hdCamera
7 年前
Sebastien Lagarde
f4660e9b
Add framesettings support to volumetric
7 年前
sebastienlagarde
88a04a92
Fix volumetric toggle
7 年前
sebastienlagarde
87b6bc50
Move atmospheric scattering field above volumetric
7 年前
Tim Cooper
fafb59af
Run code formatter.
7 年前
Raymond Graham
d3582088
Mipmapping support for local volume mask textures.
7 年前
Raymond Graham
a04c87cd
Fix a couple of issues with density volume texture mask.
7 年前
GitHub
9b090e62
Fix the warning where we reinterpret a NULL texture as a 2D texture
6 年前
Evgenii Golubev
381d8858
Add "Global Light Probe Dimmer" and tooltips for volumetrics
6 年前
Evgenii Golubev
a5b000b4
More bugfixes for volume texture sampling
6 年前
Evgenii Golubev
f7ce098c
Add an option to the HDRP asset to increase the resolution of volumetric lighting
6 年前
GitHub
87e8a616
Merge pull request #1609 from EvgeniiG/volumetrics_probe_dimmer
Add "Global Light Probe Dimmer" and tooltips for volumetrics
6 年前
GitHub
8dddca48
Merge pull request #1606 from EvgeniiG/kernel_quality_levels
Add an option to the HDRP asset to increase the resolution of volumetric lighting
6 年前
Julien Ignace
5c5547e8
Removed a bunch of GC.Alloc each frame.
6 年前
Evgenii Golubev
b80d80b6
Implement linear boundary fade for density volumes
6 年前
Evgenii Golubev
bee9896f
Stop NaN propagation within volumetric lighting shader (v2)
6 年前