Paul Melamed
0be6b369
started the decal branch
7 年前
Paul Melamed
650a7ab4
debugging projecting a decal onto geometry
7 年前
Paul Melamed
d9dc83f4
decal projects correctly onto dbuffer albedo surface (test pattern)
7 年前
Paul Melamed
c4761310
color map and normal maps working for decals
7 年前
Paul Melamed
a5eb21ff
cleaned up decal shader, added custom UI for decal shader
7 年前
Paul Melamed
d9d7b2cb
refactor to address all comments by Sebastien in slack conversation.
7 年前
Paul Melamed
ddee46ec
fix decal rendering in editor
7 年前
Paul Melamed
dd2f4c60
Decals work with master and trunk
7 年前
Sebastien Lagarde
472e4d41
Update decal menu
- Move CreateDecal() to Editor folder (was breaking the standalone
build) in a DecalMmenuItems
- New menu to create decal is: GameObject/Render Pipeline/High
Definition/DecalProjector
- Add a null check test iin AddDecal on material
7 年前
Paul Melamed
1f7d870b
addressed some PR commenst, started adding metal, smoothnes, height to decals.
7 年前
Paul Melamed
6a91487b
Added CullingGroup API functionality for culling decal objects
7 年前
Paul Melamed
50503a53
Merged with master.
integrated decal group culling with HDRenderPipeline
7 年前
Paul Melamed
a1129802
cleaned up gecal group culling code, mask blend uses total material blend
7 年前
Paul Melamed
57775e99
Clean up decal culling. New global shader variable to skip decal contribution when none are visible.
7 年前
Paul Melamed
650e9e97
clean up PR
7 年前
sebastienlagarde
ab7e4641
HDRenderPipeline: Update CreateDecalMesh to CreateCubeMesh to be more generic
And move GetDecalMeshBoundingSphere in DecalSystem class
7 年前
Paul Melamed
2479dda2
Move world to decal calculation to shaders, remove the need to set property block in c#
7 年前
Paul Melamed
bd31b3cc
Temp commit, 1st attempt at instanced decals is working.
7 年前
Paul Melamed
845cd5ab
Store decals in sets per material and do an instanced draw for each set
7 年前
Paul Melamed
983ccfcb
Using proper instancing path.
Force decals to always draw instanced.
7 年前
Paul Melamed
c6480e96
remove decalset if it has no decals
7 年前
Paul Melamed
e5b34b08
passing normalToWorld in material block properties
7 年前
Paul Melamed
d83ceb71
Use material property block to set decal normal to world instanced matrix array instead of calculating it in the shader
7 年前
Paul Melamed
dbdfb0a6
Use decal set KeyMaterial for drawInstanced
7 年前
Paul Melamed
53c32b8e
fix z/y axis swap to column major
7 年前
sebastienlagarde
1ad763a2
Fix z/y swap for normal to decal space, unity is column major
7 年前
Paul Melamed
19876ed2
Merge branch 'master' into prototype/decals_gpu_optimization
# Conflicts:
# ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs
7 年前
Paul Melamed
afca789b
intermediate commit, decal global properties and draw/fade distance
7 年前
Paul Melamed
8989d3ef
decal culling by distance with fade scale
7 年前
Paul Melamed
ffd9f57f
intermediate commit, decals pass info to gpu light culling
7 年前
Paul Melamed
8668ed75
decals working on transparency
7 年前
Paul Melamed
db42063a
clustered decal refactor
7 年前
Paul Melamed
ab906785
intemediate commit
7 年前
Paul Melamed
382f92e6
Some refactoring and cleanup of how decal draw data gets prepared
7 年前
Paul Melamed
8f62c9e6
shader ID refactoring and changed from List<> to [] for some decal data structures to speed up performance
7 年前
Paul Melamed
60d9cb71
address some PR comments
7 年前
Paul Melamed
f3c562d5
Refactored decal system API to be able to add, delete and update decals without projector component
7 年前
Paul Melamed
bd99fade
Store material ID instead of material reference in the DecalHandle
7 年前
Thomas
b74496d0
Fixed a leak in the decal system
7 年前
Thomas
e85e2c70
NPE fix
7 年前
Paul Melamed
6f570901
Merge branch 'master' into decals/api_change
# Conflicts:
# ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs
7 年前
Paul Melamed
92ea94ec
clean up api refactor
7 年前
Paul Melamed
b41682f1
Remove old version of UpdateCachedData
7 年前
Paul Melamed
ace24f84
After cleanup set texture atlas and decal mesh to null so that they get recreated.
7 年前
sebastienlagarde
6e72077d
Fix compiler warning for sampling textures without lod in dynamic branch, and fix decal atlas and mesh initialization.
7 年前
Paul Melamed
07ab7b09
Merge branch 'master' into decals/api_change
# Conflicts:
# ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs
7 年前
sebastienlagarde
a12382a2
- Removed useless shadow atlases from HDRP
- Added debug texture name to all our caches
- Fixed a few leaks (rendertexture, materials, ...)
7 年前
Paul Melamed
2cf56db5
fix texture lod selection for clustered decals
7 年前
Paul Melamed
0c97c0da
initial commit
7 年前
Paul Melamed
22cfa928
added texture2d atlas
7 年前
Paul Melamed
ff3bd5a3
using new texture atlas to store decal textures
7 年前
Paul Melamed
19e30640
changed to use a 2d texture atlas instead of texture 2d array for decals rendered in the transparent pass
7 年前
Paul Melamed
ff3c43c1
add clamping by half a texel when sampling from decal atlas
only rebuild decal atlas if out of space
7 年前
Paul Melamed
7eb40bcb
fix texture allocation success status tracking
7 年前
Paul Melamed
16665d1f
Use HDRenderPipelineAsset for decal atlas dimensions, print an error when decal atlas allocation fails.
7 年前
Paul Melamed
3e88b2e8
intermediate commit, atlas packing optimizations
7 年前
Paul Melamed
ae602283
Somre cleanup and refactoring of adding textures to decal atlas
7 年前
Paul Melamed
3f7e7fef
Reset allocation status flag.
7 年前
Paul Melamed
d852d360
address PR comments
7 年前
Paul Melamed
cef12462
Add debug decal atlas view.
7 年前
Paul Melamed
35466812
Only store decal textures to atlas if decal is visible, debounce out of memory decal atlas warning.
7 年前
Paul Melamed
930806b1
Fix decal atlas debug display so that it works correctly when both decal and shadow atlas debug views are enabled
7 年前
Paul Melamed
ee6c1949
uv tiling working for opaques
7 年前
Tim Cooper
fafb59af
Run code formatter.
7 年前
Paul Melamed
34a0dcbf
intermediate commit
7 年前
Paul Melamed
daa031aa
Allow decal projectors with null materials, so that users can still modify projector decals even when HDRP is not set as current pipeline.
7 年前
Paul Melamed
797daf79
Merge branch 'master' into decals/ss3_channel_mask
7 年前
Paul Melamed
f961e596
Albedo contribution flag works on transparency
7 年前
Paul Melamed
dcfe380d
Added affects transparency flag to decal projectors
7 年前
Paul Melamed
aa31195d
change names of decal #defines to reflect functionality of dbuffer passes
store scale/bias of texture atlas allocations after they have been allocated
7 年前
Paul Melamed
a95094c7
Address PR comments
7 年前
Paul Melamed
8b873a1e
added color swatch to decal material
7 年前
Paul Melamed
8e6c1409
per channel decals work for meshes and transparency
7 年前
Paul Melamed
3c660e30
per channel decals working for all combinations
7 年前
Paul Melamed
c6fc1808
Added per channel blend selection mode for decals to render pipe asset
7 年前
Paul Melamed
f4e0f28f
added #pragma multicompile to StackLit and some comments
7 年前
Paul Melamed
d25c0df6
New ui and 3RT/4RT modes work for decals
6 年前
Paul Melamed
abdc7b2f
cleanup refactor
6 年前
Paul Melamed
b61a3946
decal material draw order
6 年前
Paul Melamed
8ebddf0c
Changed how decal projector extents are modified in the UI, to make editing more intuitive
6 年前
sebastienlagarde
ce6e4e7f
Revert "Merge pull request #1733 from Unity-Technologies/HDRP/decals/v2_1/material_draw_order"
This reverts commit 3a95cb98b694bf2f16fe02b83b980e4d426535f3, reversing
changes made to 034f0bad76156d1140fcef3404256f876ecd61ac.
6 年前
Paul Melamed
e21ffe2c
Fix decal set render list container
6 年前
Paul Melamed
ab1ae523
Add API call to add and update projector decals without specifying their transform
6 年前