Commit Graph

711 Commits

Author SHA1 Message Date
Charles deRousiers
23a0b8d740 Add Specular Profile asset.
This allows artist to provide a custom LUT describing specular behavior for view and light angles. The LUT can be procedurally generated or provided from a texture.

#rb sebastien.hillaire
#jira none
#preflight 646b6b392c0a5da0dcc8a2ab

[CL 25564387 by Charles deRousiers in ue5-main branch]
2023-05-22 11:00:34 -04:00
Sebastien Hillaire
52bf81f355 Substrata - HUD - display of material tyep and details.
#rb none
#preflight none
#fyi charles.derousiers

[CL 25545574 by Sebastien Hillaire in ue5-main branch]
2023-05-19 11:36:49 -04:00
Sebastien Hillaire
247f5217b2 Substrate - Editor HUD - show IsThin and fixed a few UI presentation/alignement issues.
#rb none
#preflight none
#fyi charles.derousiers

[CL 25543469 by Sebastien Hillaire in ue5-main branch]
2023-05-19 09:18:23 -04:00
massimo tristano
b079905165 Disable ability to override parameters that cause Material Instances to create a new shader permutation when parenting a restricted (non-base game cooked) parent.
In restrictive mode, material instances could not inherit from a cooked material not in base modules. Now material instances can inherit from such restricted materials as long as they do not introduce a new static parameters permutation and thus a new shader. To prevent this, the UI disables the checkboxes that would trigger a new shader to be created (full validation is still performed at cook time, so even if a user manages to create a material instance with a static permutation, this would be rejected by the content worker).

[REVIEW] josie.yang
#preflight 6464e5a22d446eac96ca83a6

[CL 25511566 by massimo tristano in ue5-main branch]
2023-05-17 13:29:04 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
christopher waters
5b751e83bd Cleaning up more platform code.
#jira UE-185135
#rb robert.srinivasiah
#preflight 64628533aa3c584c0b0af08d

[CL 25480257 by christopher waters in ue5-main branch]
2023-05-15 16:56:55 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
Sebastien Hillaire
5cf6e3bb5b Strata - Glints prototype.
Contains aproved LICENCE and TPS for code and LUT.
Enabled via r.substrate.glint 1

#preflight https://horde.devtools.epicgames.com/job/645cd751aa3c584c0b384ea1
#rb charles.derousiers

[CL 25433839 by Sebastien Hillaire in ue5-main branch]
2023-05-11 15:33:23 -04:00
aditya ravichandran
31830290ab Asset Editors: Deprecate OnClose and RequestClose in favor of similar functions that take in a close reason
Fix a crash in some asset editors when you force deleted an asset with pending changes and hit "cancel" on the save dialog

#jira UE-107248
#preflight 64517c880e33f2d51d6e3adb

[CL 25321878 by aditya ravichandran in ue5-main branch]
2023-05-03 14:45:26 -04:00
sebastien hillaire
9662bc33d8 Move ResetLoaders wwhen duplicating material to a more correct place: UpdateOriginalMaterial, called when duplicating materials on apply, save or else.
Follow up to 25171370.

#rb Francis.Hurteau
#preflight https://horde.devtools.epicgames.com/job/6450dc6f1c2846595c92feec

[CL 25301476 by sebastien hillaire in ue5-main branch]
2023-05-02 10:32:39 -04:00
Sebastien Hillaire
0af535c3b0 Substrate
- deleted details output from message log
- material in Substrate HUD no display details
- Simplification button is next to the tick box.
- !! not using bitfield which seems to cause some weird bit shift sometimes. Reported !!

#rb none
#preflight https://horde.devtools.epicgames.com/job/644a18a80f12404fb7507280
#fyi dan.elksnitis, charles.derousiers

[CL 25211397 by Sebastien Hillaire in ue5-main branch]
2023-04-27 02:53:34 -04:00
Sebastien Hillaire
f95f61d42d MaterialEditor - Fixed LOCTEXT conflict
#rb none
#preflight none

[CL 25211185 by Sebastien Hillaire in ue5-main branch]
2023-04-27 01:38:44 -04:00
Sebastien Hillaire
12875a6491 Substrate - Editor HUD upgdate.
#preflight https://horde.devtools.epicgames.com/job/6448f21cf451a62211e8eef3
#rb none
#fyi charles.derousiers

[CL 25195523 by Sebastien Hillaire in ue5-main branch]
2023-04-26 06:16:31 -04:00
Florin Pascu
cd8651734e UX: Remove user-visible ES31 editor references and replace with Mobile
#jira UE-134173
#rb Jack.Porter
#preflight 6447ac2e641e2c3cb4227930

[CL 25178065 by Florin Pascu in ue5-main branch]
2023-04-25 07:05:08 -04:00
sebastien hillaire
9a93a465b8 Removed bad disable optimisation that stayed behind after some more debugging...
#prelfight none

[CL 25175534 by sebastien hillaire in ue5-main branch]
2023-04-24 23:30:00 -04:00
sebastien hillaire
4ce5ee6677 Fix for duplicated material applying multiple times data conversion after a duplicate when it is in fact not needed since it has been done on load already.
#rb Francis.Hurteau
#preflight https://horde.devtools.epicgames.com/job/6446de5d2804595a0448d0b5

[CL 25175528 by sebastien hillaire in ue5-main branch]
2023-04-24 23:29:40 -04:00
jian ru
9e02435ecf Remove r.MaterialEnableControlFlow and disable the feature as how control flow should be implemented in the material editor is still under discussion
#rb jason.nadro

[CL 25154565 by jian ru in ue5-main branch]
2023-04-21 17:43:44 -04:00
Sebastien Hillaire
6f058da7c5 Substrate - bring back proper premultipled alpha that can be toggle on materials and material instances.
- Coverage over the background can be override from the root node when AlphaCompiste blend mode is selected. If not plugged in, coverage of over brackground is off and regular blending is used.
 - Decals only support translucent, composite and modulate. Normal is ignored when using CompositeAlpha (seen somewhere)
 - Light functions can only be opaque so nothing to do in this case.
 - UI domain tested with all blend mode
 - Material attribute aslo tested
 - Fixed many of issues with blend mode defines, being forced, etc.


#rb soon charles.derousiers
#preflight https://horde.devtools.epicgames.com/job/64426db6641e2c3cb4fc7966
#fyi charles.derousiers

[CL 25143802 by Sebastien Hillaire in ue5-main branch]
2023-04-21 07:37:40 -04:00
kirill zorin
a469aafd78 Update callsites to prepare for upcoming TArray/TArrayView<TObjectPtr<...>> restrictions
#rb zousar.shaker
#rb devin.doucette
#rb steve.robb
#rb robert.manuszewski
#rb saam.barati
#preflight 643f4c09a35280ed4f53ccb3

[CL 25100071 by kirill zorin in ue5-main branch]
2023-04-18 22:39:29 -04:00
graham wihlidal
8f4bd63195 Added Nanite displacement magnitude and center to material properties, and removed hardcoding in the shaders.
#rb brian.karis
#fyi rune.stubbe
#preflight 6438eadea35280ed4f037197

[CL 25045806 by graham wihlidal in ue5-main branch]
2023-04-14 14:27:51 -04:00
jeannoe morissette
75364b7008 VulkanRHI: Add VULKAN_SM6. Move features and requirements around to match what was done on d3d.
#rb arciel.rekman, carl.lloyd
#preflight 643996128901e5ef982dc887

[CL 25045731 by jeannoe morissette in ue5-main branch]
2023-04-14 14:26:06 -04:00
jonathan bard
833d0005e4 Prevent all RVT from being invalidated when entering landscape mode just because we build a thumbnail material
#rb jeremy.moore
#preflight 6435a3e12909bc56c8e337ec

[CL 25018235 by jonathan bard in ue5-main branch]
2023-04-12 19:01:11 -04:00
graham wihlidal
e1db51128e Nanite (WIP) scalar displacement UX support in material editor.
#rb jason.nadro, arciel.rekman, brian.karis
#preflight 6435a2e7127980724bfb7e4e

[CL 24997884 by graham wihlidal in ue5-main branch]
2023-04-11 16:48:54 -04:00
Jon Cain
23d0cf3f93 Retain details of assigned texture and other params when converting between Texture Object and Texture Object Parameter material expression.
#rb Jason.Nadro
#jira UE-182284
#preflight 6435971a1f33a0b34accc2dc

[CL 24994170 by Jon Cain in ue5-main branch]
2023-04-11 13:40:36 -04:00
Sebastien Hillaire
5cbd073d3e Fixed Strata material preview on nodes to account for the sub strata tree from the previewed node only.
this fixed material function input / output, reroute nodes and everything in between that is not directly connected to FrontMaterial.

#rb none
#preflight https://horde.devtools.epicgames.com/job/642d61708f078cc703e628f2
#fyi charles.derousiers

[CL 24926071 by Sebastien Hillaire in ue5-main branch]
2023-04-05 08:13:43 -04:00