Commit Graph

664 Commits

Author SHA1 Message Date
christopher waters
0d5b23e2e3 Adding includes to prepare for a header dependency cleanup.
#preflight 63b5e0bfff7b9ad7030f0f81

[CL 23581920 by christopher waters in ue5-main branch]
2023-01-04 17:07:40 -05:00
christopher waters
f8abec7a8e Material header dependency cleanup
- Removing MaterialAttributeDefinitionMap and MaterialRenderProxy from MaterialShared.h
- Removing MaterialShared from Material.h

#preflight 639cbb35776b61ba3b82f03e

[CL 23541603 by christopher waters in ue5-main branch]
2022-12-16 16:24:02 -05:00
christopher waters
7215f7d4ec Fully moving MaterialDomain to its own header.
#jira none
#preflight 639b4dc335203bc7aa695078

[CL 23531533 by christopher waters in ue5-main branch]
2022-12-15 16:01:51 -05:00
Charles deRousiers
d5a07828ed Fix even more Strata blend mode.
#rb none
#jira none
#preflight 639a1ee98c64c74ac80ff657

[CL 23516373 by Charles deRousiers in ue5-main branch]
2022-12-14 14:47:58 -05:00
Charles deRousiers
47474b943d Abstract Modulate and AlphaHoldout blend mode.
#rb none
#jira none
#preflight 6398b5ca8c64c74ac89c4727

[CL 23495723 by Charles deRousiers in ue5-main branch]
2022-12-13 14:50:14 -05:00
Charles deRousiers
5c44593f0d Abstract blendmode lookup to ease blend mode compatibility with Strata.
#rb sebastien.hillaire
#jira none
#preflight 6398964335203bc7aa695e10

[CL 23492252 by Charles deRousiers in ue5-main branch]
2022-12-13 10:44:43 -05:00
christopher waters
59ca6eac55 Adding implicit includes for upcoming dependency cleanup.
#preflight 63979d4e35203bc7aa1ab3a0

[CL 23485362 by christopher waters in ue5-main branch]
2022-12-12 19:33:55 -05:00
christopher waters
e886ebc3cd Adding includes that code depended on implicitly. This is preperation for upcoming header dependency improvements.
#preflight 6397418acb2317695e1f3b2b

[CL 23480135 by christopher waters in ue5-main branch]
2022-12-12 13:40:46 -05:00
massimo tristano
a4a3234fdf Fixed crash happening after the user creates a Constant4Vector in a MaterialFunction and hits undo.
#jira UE-157582
#rb jeremy.moore
#preflight 6393778367018b14b506d4f0

[CL 23465963 by massimo tristano in ue5-main branch]
2022-12-09 13:21:08 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
massimo tristano
d6dc6e09bf Fixed crashes related to undoing a parameter change in the Material Editor.
#jira UE-159829
#rb jason.nadro
#preflight 6391dbc00d013d47ef8a7775

[CL 23445222 by massimo tristano in ue5-main branch]
2022-12-08 08:04:31 -05:00
Ryan-DowlingSoka
ab8e678043 PR #9754: Material Graph Comments, blueprint feature parity.
Hide Comment Bubbles, Selection/Group Movements, Colored Comment Bubbles. (Contributed by Ryan-DowlingSoka)

#rb Jason.Hoerner
#preflight 638e663b5c5308d18c9ac0cf
#jira UE-169348, UE-80626, UE-102054

[CL 23407065 by Ryan-DowlingSoka in ue5-main branch]
2022-12-06 09:39:14 -05:00
massimo tristano
8488ce6ba3 Fixed bug in SMaterialParametersOverviewTree causing Material Editor to crash when the user creates a Param node and views the UI panel containing the material parameters.
#jira UE-170172
#rb sebastien.hillaire
#preflight 638e1515bb6fefa472545f13

[CL 23391291 by massimo tristano in ue5-main branch]
2022-12-05 11:09:59 -05:00
Sebastien Hillaire
29639be6fb Reworked distortion to:
- Use material F0=>IOR by default.
- Then use the root node refraction pin input to override IOR for art direction.
- Refraction is now disable using the mode None.
- This data converted according to the graph content. Usingthe Rectraction input is detected by looking at all the node from the mateiral graph. When material attributes are used however, It is however over conservative since it does not check if the node a really plugged in an actual attribute path.

It was needed to deprecated the previouls RefractionMode variable as default value needs to now be RM_None. The new property is RefractionMethod.

The new GetRootNodeOverridesDefaultRefraction function on FMaterial has a default but to have correct refraction it must be implemented when it matters.

Refraction engine test were all green.

#rb charles.derousiers, chris.kulla
#preflight  https://horde.devtools.epicgames.com/job/63885ca3b21cdd3a2601428e

[CL 23370408 by Sebastien Hillaire in ue5-main branch]
2022-12-02 03:49:35 -05:00
Charles deRousiers
5b21c9a8e4 Change how thickness is setup on Strata material.
* Add a new thickness input on the root node for thin surface
* Add a new thickness input on vertical layer operator, to provide the thickness of the 'layered' material
* Mark Slab thickness input as deprecated, for converting existing asset once this CL is checked in.

#rb sebastien.hillaire
#jira none
#preflight 638903020e4613faedc9e8be

[CL 23358938 by Charles deRousiers in ue5-main branch]
2022-12-01 14:52:03 -05:00
Charles deRousiers
16feb26b7c Fix crash when opening material instance due to IsThinSurface being null for asset create prior to the addition of IsThinSurface property.
#rb none
#jira none
#preflight skip

[CL 23330601 by Charles deRousiers in ue5-main branch]
2022-11-30 10:36:21 -05:00
massimo tristano
4bf4b79df2 Fixed bug causing warning error dialog not appearing when the user tries to save a material with compilation errors.
#jira UE-169788
#rb jason.nadro, jeremy.moore
#preflight 63864756d76995cb1450ec01

[CL 23330179 by massimo tristano in ue5-main branch]
2022-11-30 10:19:16 -05:00
Charles deRousiers
9f9607a23f Add IsThinSurface on root node for flagging surface with thin shell (i.e., hollow interrior).
The defines a clear semantic for how thickness of a bottom layer should be handled with Strata. This CL only pipes the data for the various parts. A following CL will add a thickness property on the root node.

#rb none
#jira none
#preflight 638672dd4004f73f62ea9600
#fyi sebastien.hillaire

[CL 23324261 by Charles deRousiers in ue5-main branch]
2022-11-30 02:10:42 -05:00
massimo tristano
e20cd251e0 Fixed crash occurring when the user selects multiple material parameter collection nodes belonging to different collections.
#rb jason.nadro
#preflight 636d17eff406b9a4ff2b6e9e

[CL 23102251 by massimo tristano in ue5-main branch]
2022-11-11 14:11:59 -05:00
jeremy moore
319d0a96cd Skip work for null MaterialResources
[CL 23039020 by jeremy moore in ue5-main branch]
2022-11-08 16:00:43 -05:00
steve robb
125fd0084e Removed explicit template parameters from calls to delegate creation functions.
#rb devin.doucette
#preflight 636416e31052c15f139cbadc

[CL 22968432 by steve robb in ue5-main branch]
2022-11-03 18:01:03 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
jeremy moore
229b57dd77 Add material stats permutation for Runtime Virtual Texture output.
Useful for basic understanding of perf for landscape shaders that write RVT.
Mark material stats objects as Preview Materials. Without that we cull out any work gated by a layer weight when calculating stats.

[CL 22937906 by jeremy moore in ue5-main branch]
2022-11-02 23:06:33 -04:00
massimo tristano
f96aa8b162 Fix crash occurring in UEFN when the creates a MaterialLayer or a MaterialFunction and opens it in the Material Editor.
#rb jason.nadro, laura.hermanns
#preflight 6360176599482e1476d5cd0d

[CL 22917972 by massimo tristano in ue5-main branch]
2022-11-02 11:46:32 -04:00
lauren barnes
4473665157 Removed PropertyRow call to CustomResetToDefault for Labeled Texture Parameter customization
#rb JeanMichel.Dignard

[CL 22876131 by lauren barnes in ue5-main branch]
2022-10-31 20:55:44 -04:00