Originally posted by Oskar Ĺwierad
View Post
Announcement
Collapse
No announcement yet.
[SHELVED] Material Layering Feedback for 4.19
Collapse
X
-
Originally posted by MDiamond View PostI was trying to recreate the original MatLayerBlend functions with the new interface, starting with the Override Base Color with an option to input a texture, but for some reason the UV tiling parameter does not work when the Matterial Layer Instance is in the stack. GIFs below. Any ideas?
Originally posted by Virtuosic View PostI've been using this to great effect, however there are some things that don't appear to be working as expected - for instance i'm not able to use a Transform Vector node inside of a layer blend - i get an "Invalid node used in vertex/hull/domain shader input when I use it and plug it into the Alpha of a Blend Material Attributes node.
Comment
-
Originally posted by Zero-Night View PostNoticed something a little strange when trying to work with the new system a little bit. Putting a static switch parameter in the actual material works as normal, but putting one in the material layer itself makes it so parameters from both true and false show up in the material instance. I don't think it has any performance difference, but usability wise it does clutter things a little bit in the list.
Originally posted by Zero-Night View PostOther than that though, I'm really enjoying the new system so far and plan on changing my project over to use it for a lot of things! The only thing I really wish it had was some way of reducing instructions if a pixel was 100% masked (out of concern for performance using this project wide), but I'm not sure if that can be done.
Comment
-
Originally posted by Zero-Night View PostSpent a bit more time working on it tonight and found a few bugs/problems with the layering system:
If you tweak a material layer enough, eventually it stops updating in the world and doesn't refresh on a new compile. Requires an engine restart to fix.
Thumbnails for instances don't update if you change the properties, leading to misleading appearances (so a thumbnail showing a red sphere may really be a green one). If you duplicate the instance however, the new generated thumbnail is correct.
Originally posted by Zero-Night View PostThe parent dropdown doesn't filter the instances properly, it still lets you pick an instance from another material layer entirely. This leads to buggy results and requires a little bit of fiddling afterwards to fix it. Not sure if this is intentional, but it seems like the intent is to have it only show instances for the material layer you pick for the parent, which is a great way of filtering things. Right now though, as stated, it shows instances for every single layer, not just the selected one.
Thanks so much for all the feedback, this is really useful!
Comment
-
Also, for everyone working with Material Attributes, check out the Get, Set, and Blend Material Attributes nodes. They'll make changing just a few attributes way easier than having to reconnect all the nodes of a Break to a Make. More info about them is in the 4.14 Release Notes
Last edited by Shadow.Storm; 01-23-2018, 11:36 AM.
Comment
-
Originally posted by Shadow.Storm View Post
We have seen this with texture parameters and are currently investigating - if you are seeing it with other parameter types, could you upload a screenshot?
For the tweaking the material layer until it breaks updating, I wasn't seeing this in the material instance UI, but just in the normal material editor. I was messing with ways to pack roughness and a normal map in the same texture just to see if it could be plausibly done with the new system, and all of a sudden the engine just stopped caring about me connecting or disconnecting nodes when I applied the changes.
Originally posted by Shadow.Storm View PostThanks so much for all the feedback, this is really useful!
Originally posted by Shadow.Storm View PostAlso, for everyone working with Material Attributes, check out the Get, Set, and Blend Material Attributes nodes. They'll make changing just a few attributes way easier than having to reconnect all the nodes of a Break to a Make. More info about them is in the 4.14 Release Notes
Is there a difference between that and what I've done here (this is the quick dirt layer I made for this new system)? I'm not sure if there's a drawback to doing it this way, obviously I can just change it to the get/set/blend nodes if they work better.
Comment
-
Originally posted by Zero-Night View PostIs there a difference between that and what I've done here (this is the quick dirt layer I made for this new system)? I'm not sure if there's a drawback to doing it this way, obviously I can just change it to the get/set/blend nodes if they work better.
Comment
-
Had less time to play with this..
First... system is avesome.. our master material contained 100 static switch to handle all of "our" possible requirements
Now finally i dont need wait 5k shader compile when new feature is requested.
btw, maybe i am wrong, but uv scale is not working in layers?
Refs:
https://i.imgur.com/Xg0I6Uw.png
https://i.imgur.com/1YJL57m.jpg
Comment
-
Originally posted by AmphDev View PostHad less time to play with this..
First... system is avesome.. our master material contained 100 static switch to handle all of "our" possible requirements
Now finally i dont need wait 5k shader compile when new feature is requested.
btw, maybe i am wrong, but uv scale is not working in layers?
Refs:
https://i.imgur.com/Xg0I6Uw.png
https://i.imgur.com/1YJL57m.jpg
Comment
-
Hello. I've done the Uber thingie here for those interested: https://drive.google.com/open?id=134...SdaYlI-q8xDSB3 Hope you like it
Comment
-
I have an idea, tell me if it's going to work with this.
Have one material in wireframe mode with emmisive lighting and a vertex displacement ever so slightly inflating the model. And then another material "underneath" with just a flat color.
Would that work?
I've been trying to figure out how to render a wireframe beauty shot of models in UE4, I can do it in 3dsmax or blender sure but doing everything in engine would save me a bunch of time.
Comment
-
In 4.19 Preview3 when I click and start dragging the material layer in the editor's content browser I get instant crash. Cannot open any of the materials done in 4.19 preview2, unfortunately cannot use it as it is. By the way, I've updated today the Uber shader I did few days ago, see the link in my post #41 Is there a way to reverse the engine to preview2 for now?
Comment
-
Originally posted by SmartPolygon View PostIn 4.19 Preview3 when I click and start dragging the material layer in the editor's content browser I get instant crash. Cannot open any of the materials done in 4.19 preview2, unfortunately cannot use it as it is. By the way, I've updated today the Uber shader I did few days ago, see the link in my post #41 Is there a way to reverse the engine to preview2 for now?
Comment
Comment