Antti Tapaninen
0574ef6b
Merge branch 'master' into metal
8 年前
uygar
3043024a
First step in removing the old shadow system. Stubbed out the old system in HDRenderloop.
8 年前
uygar
ce4c49e3
Fixed shadowmap rendertargets getting lost upon scene change. Also added cleanup code for rendertargets.
8 年前
uygar
0cc9116d
Fixed UnpackShadowType going out of sync with changes made to ShadowBase.cs.
8 年前
uygar
612f8c68
Inverted the order of high and low precision for better compatibility with scenes that don't have any algorithm set. 0 will now default to 32bit precision PCF 1 tap.
8 年前
uygar
015180f0
Added checking the individual shadow fade distance per light to the shadow managers prune function.
8 年前
uygar
13bfd3f7
Changed texelSizeRcp passed into shaders from a float2 to a float4. The first xy coordinates are the actual texel size of the texture, whereas zw are the texelsizes relative to the viewport.
Added a factor of 100 to the normal bias passed into the shader.
Updated shaders to use the new zw component for the normal bias offset.
Added bias offset code to point, spot and punctual routines as well.
8 年前
uygar
1fca69f6
Modified the ShadowContext declaration macro. Only code for slots that are not zero will be generated.
Changed the shadow context declaration so no code for cubemaps will be generated, anymore.
Modified the texfetch functions. Instead of returning from the loop the routines only break. This fixes a warning about an uninitialized variable and also leads to fewer instructions generated.
Restructured ShadowDispatch.hlsl a little bit to make changing resources and algorithms a bit easier.
8 年前
uygar
cefe8b15
Merge branch 'master' into shadows
8 年前
Antti Tapaninen
a8edd715
Merge branch 'master' into metal
8 年前
Antti Tapaninen
a38bee23
Merge branch 'master' into metal
8 年前
Antti Tapaninen
2cce2981
Merge branch 'master' into metal
8 年前
Filip Iliescu
996434fd
update local copies of HLSLSupport and UnityStandardCore to match changes in Unity src tree and fix errors after updating
8 年前
Filip Iliescu
db72d2ac
Create test scene for Classic OnChip Deferred Renderloop
8 年前
Filip Iliescu
70de8f67
fix a bug causing bad rendering in standard shader.
8 年前
Filip Iliescu
5b00b86c
implement a material upgrader to port standard shader for all materials to one belonging to renderloop
8 年前
Filip Iliescu
1109a6c7
initial port of Classic OnChip Deferred Mobile Renderloop based on exisitng standard and deferred shaders from built-in renderloops with new shadows.
8 年前
uygar
f4c6d4da
Added .meta file for Resources folder.
8 年前
uygar
d717a22e
Added additional bias parameter for all algorithms.
Changed the scale of the PCF bias parameter.
8 年前
uygar
95a0d58b
Fixed winding order of objects renderered into point shadowmaps.
Pulled point light matrix and split plane calculations from C++ into C#.
Removed cullresults and index parameters from the ShadowUtils helper function for point lights.
Added new ShadowUtilsConstants class which contains constants to work with cubemaps.
8 年前
uygar
699822c3
Added support for choosing a precision for shadow variants. There are two settings, Low and High, which currently select between 16 bits per channel and 32 bits per channel shadow maps.
Merged directional and point/spot lights into the same atlas again. Added two additional atlases to support 16 bpp VSM style shadow maps.
Added new dropdown to AdditionalLightData to select precision if available.
8 年前
uygar
f41b5af9
Added missing compute shader from previous commit.
8 年前
uygar
94d9ef0a
Added support for choosing shadow algorithms. Each algorithm can have up to 8 variants.
Added VSM, EVSM and MSM shadowmaps.
Added custom editor to additional light data for drawing shadow specific UI.
8 年前
Tim Cooper
793887f9
Working 'convert to subgraph'
7 年前
Tim Cooper
a494cc0c
Adding back sub graph support
7 年前
Tim Cooper
34cc0f15
Start work on making 'sub-graph' work again in an expected way.
7 年前
Tim Cooper
06494dc3
Ensure tests are run with the same preview lighting.
7 年前
Tim Cooper
ff3530d9
Add cracks graph for testing
7 年前
Peter Bay Bastian
c645f8bc
Remove unnecessary inheritance from GraphElementPresenter in NodePreviewPresenter
7 年前
Peter Bay Bastian
4fa0de6e
Remove NodePreviewView as it is no longer used
7 年前
Peter Bay Bastian
8bfc6985
Remove needless inheritance from MaterialNodePresenter in GraphControlPresenter
7 年前
Peter Bay Bastian
78c22505
Handle delete via window and presenter rather than `MaterialGraphView`
7 年前
Peter Bay Bastian
04fedafb
Support "Cut" command
7 年前
Peter Bay Bastian
9dd4edeb
#11 #43 Copy, paste & duplicate now works properly and is handled by the window rather than GraphView
7 年前
Peter Bay Bastian
b057a909
Clean-up MaterialNodeView a bit
7 年前
Peter Bay Bastian
693b0aa5
Remove `elements` from MaterialNodePresenter. Sub-presenters are accessed through independent properties now.
Much simpler to work with and also less garbage generation :)
7 年前
Peter Bay Bastian
315fa5db
Missing change for 15eb6b7dabdeb624e8fce79ab693381310a9614c
7 年前
Peter Bay Bastian
1513eb00
Tidy up presenters folder, such that all the actual node presenters (i.e. corresponding to an actual node) lives inside their own folder
7 年前
Peter Bay Bastian
45e02be9
Rename *Drawer to *View
7 年前
Peter Bay Bastian
47925068
#35 Unify {Graph,Material}NodePresenter
7 年前
Peter Bay Bastian
11134a7d
Remove old inspector
7 年前
Peter Bay Bastian
485654b6
#31 Graph inspector now lives inside graph editor window (also, it works again!)
7 年前
Peter Bay Bastian
696062ae
#35 namespace UnityEditor.Graphing.Drawing -> UnityEditor.MaterialGraph.Drawing
7 年前
Peter Bay Bastian
ecb231e6
#35 Pull AbstractGraphInspector into AbstractMaterialGraphInspector
7 年前
Peter Bay Bastian
f59ddd5e
#35 Remove meta file that got away
7 年前
Peter Bay Bastian
f2510f42
#35 Move a bunch of files from SerializableGraph folder to MaterialGraph folder (and delete a few unused ones)
7 年前
Peter Bay Bastian
d470f1f1
Unify {Abstract,Serializable,Material}GraphEditWindow, {Abstract,Serializable,Material}GraphPresenter and {Serializable,Material}GraphView
7 年前
Peter Bay Bastian
f589fb80
Preview rendering works again for non-time-dependent nodes
7 年前
Peter Bay Bastian
72c6ad7a
Push NodeDrawer members down into MaterialNodeDrawer
7 年前
Peter Bay Bastian
dfe9bbae
Enable pixel caching for nodes (should yield better performance)
7 年前