Home Unreal Engine

Unreal Engine 4

1272830323339

Replies

  • m4dcow
    Options
    Offline / Send Message
    m4dcow interpolator
    Scizz wrote: »
    The roughness texture they used, was the red channel of the original wood texture, but I thought that with roughness, towards black is glossy, and towards white is rough/matte(within UE4). So how come in the texture, the grooves within the wood grain are darker than the surface

    Maybe they just inverted that channel in their material.
  • Scizz
    Options
    Offline / Send Message
    Scizz polycounter lvl 11
    I looked for it in the material but I couldn't find where the inverted. 81ADB.jpg I would assume it would be somewhere in between the link from the red channel and the final input into the roughness, but I don't see.
  • m4dcow
    Options
    Offline / Send Message
    m4dcow interpolator
    Scizz wrote: »
    I looked for it in the material but I couldn't find where the inverted. 81ADB.jpg I would assume it would be somewhere in between the link from the red channel and the final input into the roughness, but I don't see.

    Check the parameters for the material instance (RoughnessWoodHigh & RoughnessWoodLow), because if you enter a low number for the high value, and a high for the low, that essentially inverts it and by lerping together this way you have a bit more control.
  • iniside
    Options
    Offline / Send Message
    iniside polycounter lvl 6
    Monophobe wrote: »
    Following on from my post earlier I've been playing around more to make sure everything is working as expected and had to make a few alterations to what I was storing in which map channel.

    Thought I'd share my final setup for anyone else wanting to do PBR with SubSurface:

    KgxWtiN.jpg

    Hope it proves useful for someone else :)

    (once again, excuse the crappy test maps)
    You should to use fresnel to mask out subsurface and/or opacity channel.
    SubSurface works really odd without addtional masking.
  • Monophobe
    Options
    Offline / Send Message
    Monophobe polycounter lvl 11
    iniside wrote: »
    You should to use fresnel to mask out subsurface and/or opacity channel.
    SubSurface works really odd without addtional masking.

    Not sure what you mean by this, can you explain further? The documentation says that when the lighting model is set to subsurface the opacity slot behaves as the subsurface depth mask and it looked nice setup as above, though this is my first time using SSS in any engine so happy to be shown otherwise.
  • iniside
    Options
    Offline / Send Message
    iniside polycounter lvl 6
    Fresnel_node.png

    Something like that. You should take a look at Blueprint Office example. There is big tree. Look at it branches material, there is cleaver usage of fresnel.

    Not really sure if it will help with skin rendering, but I think it is worth an experiment!
  • WarrenM
    Options
    Offline / Send Message
    Scizz wrote: »
    Did anyone else change the grid snapping from its default, to powers of 2? Also, by doing that, the units are still in centimeters right?
    It is, but the new standard going forward is decimal. The power-of-two grid is really only there for backwards compatibility. It doesn't change the units the engine is using.
  • Hotrails
    Options
    Offline / Send Message
    JordanN wrote: »
    I actually shot them at the same exposure setting (0).
    When viewed from a distance, the reflection was still there.


    Isn't specular when its light from the light source being bounced back?

    The pencil needed to be in that area of light to bounce an image of itself onto the table (not the sun).

    You can see there's a specular reflection on the pencil when it went outside that strip of light (but not a reflection).

    Edit: Here's a quick drawing to better understand my point.
    http://i.minus.com/ih2CdxmCrVsXr.png
    http://i.minus.com/i4pzvwnCQliNY.png

    I don't know if you mean that but in the first picture you see the direct specular reflection that is much stronger than the indirect specular in the other pics when the pencil is not directly under the light.
    Since the light than bounce off the metal part of the pencil have that intensity it produces a stronger reflection that you see on the table too.
  • EvanTideswell
    Options
    Offline / Send Message
    EvanTideswell polycounter lvl 3
    I cant wait :D gonna be awesome :)
  • Scizz
    Options
    Offline / Send Message
    Scizz polycounter lvl 11
    m4dcow wrote: »
    Check the parameters for the material instance (RoughnessWoodHigh & RoughnessWoodLow), because if you enter a low number for the high value, and a high for the low, that essentially inverts it and by lerping together this way you have a bit more control.

    You're absolutely right! Messing with those sliders allowed me to have a lot of control over the roughness. I don't quite understand the "wood_high" and "wood_low" terms though. Do they mean, high as in the surface, and low as in the crevices of the wood grain? idk. And what about normal map detail, was their any reason other than preference to not have detail normals, or a normal for the actual wood itself?
  • LMP
    Options
    Offline / Send Message
    LMP polycounter lvl 13
    Scizz wrote: »
    You're absolutely right! Messing with those sliders allowed me to have a lot of control over the roughness. I don't quite understand the "wood_high" and "wood_low" terms though. Do they mean, high as in the surface, and low as in the crevices of the wood grain? idk. And what about normal map detail, was their any reason other than preference to not have detail normals, or a normal for the actual wood itself?

    With polished wood, or I should say, "finished" wood, the grain doesn't have so much effect on the normals.
  • Jesse Moody
    Options
    Offline / Send Message
    Jesse Moody polycounter lvl 17
    Also they really aren't using the black and white values of that textures red channel for anything much but a mask and driving the real values by the scaler parameters mentioned earlier by someone else.

    Doing it this way removes a lot of control and issue from the texture and can be tweaked with just a few numbers instead of tweaking the texture over and over.

    Also gives the ability to make this wood more polished, smoother, rougher and so on.

    Basically just gives the user more control over end result.

    Scizz wrote: »
    81ADB.jpg I would assume it would be somewhere in between the link from the red channel and the final input into the roughness, but I don't see.
  • Grimmstrom
    Options
    Offline / Send Message
    Grimmstrom polycounter lvl 7
    Does anyone know why I have to open certain materials before it will display correctly as a thumbnail? I'm currently having to open all my materials before I start working just to get a preview.

    Content browser thumbnail when project first opens
    WBdSH5x.jpg

    Content browser thumbnail after opening and closing the material
    ei3hj2J.jpg
  • martinszeme
    Options
    Offline / Send Message
    martinszeme polycounter lvl 8
    Have the same thing happening on my pc. It also updates model preview if you place them in the scene. Not a biggie, but it can get annoying after a while.
  • Jesse Moody
    Options
    Offline / Send Message
    Jesse Moody polycounter lvl 17
    my guess is its compiling the shader after being directly opened.
  • WarrenM
    Options
    Offline / Send Message
    I believe it should be saving the thumbnail if you get it loaded and then right click and save the material. I think...
  • Jacky
    Options
    Offline / Send Message
    Jacky polycounter lvl 6
    Twitch stream coming up in about 10 min!

    http://www.twitch.tv/unrealengine
  • spartanx118
    Options
    Offline / Send Message
    spartanx118 polycounter lvl 10
    Monophobe wrote: »
    Following on from my post earlier I've been playing around more to make sure everything is working as expected and had to make a few alterations to what I was storing in which map channel.

    Thought I'd share my final setup for anyone else wanting to do PBR with SubSurface:

    KgxWtiN.jpg

    Hope it proves useful for someone else :)

    (once again, excuse the crappy test maps)

    Nice, its very useful... I hadn't gotten into sss for unreal this is gonna gimme a head start, question, why do we have to use opacity on sss material, usually don't in max.
  • m4dcow
    Options
    Offline / Send Message
    m4dcow interpolator
    Scizz wrote: »
    You're absolutely right! Messing with those sliders allowed me to have a lot of control over the roughness. I don't quite understand the "wood_high" and "wood_low" terms though. Do they mean, high as in the surface, and low as in the crevices of the wood grain? idk. And what about normal map detail, was their any reason other than preference to not have detail normals, or a normal for the actual wood itself?

    Well it is simply driven off of the alpha as used for the lerp, so I think high just means the brighter parts of the mask, and low means the darker part.

    As for normal map detail, I don't think it is needed in this application, since the examples of wood aren't very worn, the roughness seems to do a good job of simulating the amount/type of finish on the wood.
  • spartanx118
    Options
    Offline / Send Message
    spartanx118 polycounter lvl 10
    Oh i see, so the opacity channel on sss takes a subsurface mask. But wat is that exactly? And how can I go about making 1?

    Edit

    Oh silly me, I think I got it,it's just a mask for where the subsurface scattering is visible and where it isn't right?feeling like I'm in total noob mode today, gonna try and see if I can get some good sss results tonight
  • Visceral
    Options
    Offline / Send Message
    Ohboy here we go !

    [ame="http://www.youtube.com/watch?v=GiNF_lmq84U&list=UUA-sP_G8gDY0V9YOOpK7V1g"]imbueFX - Intro to GPU & Lit Particles in Unreal Engine 4 - Chapter 01 - YouTube[/ame]
  • BlvdNights
    Options
    Offline / Send Message
    BlvdNights polycounter lvl 8
    Been trying to find resources on setting up world space UVs for materials. Anyone know of some good resources? Even UDK knowledge would be a good start
  • Visceral
    Options
    Offline / Send Message
    BlvdNights wrote: »
    Been trying to find resources on setting up world space UVs for materials. Anyone know of some good resources? Even UDK knowledge would be a good start

    I think you are looking for MacroUV's
  • BlvdNights
    Options
    Offline / Send Message
    BlvdNights polycounter lvl 8
    Thanks! I was thrown this tutorial by someone http://www.chrisalbeluhn.com/UDK_Asset_Position_Offsets_Texturet_Tutorial.html

    Also seems that UE4 has a few material functions for UV world space as well.
  • Visceral
    Options
    Offline / Send Message
    BlvdNights wrote: »
    Thanks! I was thrown this tutorial by someone http://www.chrisalbeluhn.com/UDK_Asset_Position_Offsets_Texturet_Tutorial.html

    Also seems that UE4 has a few material functions for UV world space as well.

    oh sorry, was so into particles, Macrouv's is for particles only. I think that tutorial should help you out anyhow.
  • Harbinger
    Options
    Offline / Send Message
    Harbinger polycounter lvl 8
    BlvdNights wrote: »
    Thanks! I was thrown this tutorial by someone http://www.chrisalbeluhn.com/UDK_Asset_Position_Offsets_Texturet_Tutorial.html

    Also seems that UE4 has a few material functions for UV world space as well.

    Here's something I just put together for my environment. Middle two nodes project UV's based on the world position of each pixel, separated out by X and Y. I then lerp between them based on the normal direction of each vertex. I'm also adding masking out the +Z/-Z directions for my own purposes, but you could switch it around to project the Z axis texture instead. This isn't pefect, but it works well enough for projecting streaks of dirt/grime across my modular mountains with no seams :)

    mbattaglia3dWorldSpace.jpg
  • Scizz
    Options
    Offline / Send Message
    Scizz polycounter lvl 11
    Is there an option like in CryEngine that allows me to set views in the editor. So say, whenever I'm done with a certain part of my scene, I can press 1 for example, and it'll pop the view back to where I set view "1" to be at?
  • Money
    Options
    Offline / Send Message
    Money polycounter lvl 8
    Ctrl + Number bookmarks current camera positions, then just press a number to get to that position.
  • BlvdNights
    Options
    Offline / Send Message
    BlvdNights polycounter lvl 8
    Harbinger wrote: »
    Here's something I just put together for my environment. Middle two nodes project UV's based on the world position of each pixel, separated out by X and Y. I then lerp between them based on the normal direction of each vertex. I'm also adding masking out the +Z/-Z directions for my own purposes, but you could switch it around to project the Z axis texture instead. This isn't pefect, but it works well enough for projecting streaks of dirt/grime across my modular mountains with no seams :)

    mbattaglia3dWorldSpace.jpg

    Oh nice. At the end where are you adding this all into?
  • Harbinger
    Options
    Offline / Send Message
    Harbinger polycounter lvl 8
    BlvdNights wrote: »
    Oh nice. At the end where are you adding this all into?

    I'm just using it as a mask to blend in to my base color and roughness. It works well for grunge, maybe water streaks or water running down the sides.
  • WarrenM
  • Envart
    Options
    Offline / Send Message
    Envart polycounter lvl 6
    Amazing effects.
  • Logithx
    Options
    Offline / Send Message
    Logithx polycounter lvl 5
    Does anyone know how to disable texture streaming for everything? I remember 'bUseTextureStreaming = false' in UDK but can't seem to find it for UE4.
  • The_Distiller
    Options
    Offline / Send Message
    Put

    [SystemSettings]
    r.TextureStreaming=0


    into your project's DefaultEngine.ini, that should do it.
  • Yury
    Options
    Offline / Send Message
    Yury polycounter lvl 8
    So it looks like Lense Flare Editor is gone in UE4. Does anyone know if it's still possible to create lens flares like this in UE4? Per-pixel lens flare is nice and all, but it's very limiting I think (I find it's very useful for lens dirt effect not for anamorphic flares). I still would like to have more control over my flares and place them where I want it to be.
  • Harbinger
    Options
    Offline / Send Message
    Harbinger polycounter lvl 8
    Hey BlvdNights, after digging through some of the Effects Cave content I noticed there's already a built-in material function for World Aligned Textures. Doh!
  • Logithx
    Options
    Offline / Send Message
    Logithx polycounter lvl 5
    Put

    [SystemSettings]
    r.TextureStreaming=0


    into your project's DefaultEngine.ini, that should do it.

    Thanks, I'll try that.
  • Froyok
    Options
    Offline / Send Message
    Froyok greentooth
    Yury wrote: »
    So it looks like Lense Flare Editor is gone in UE4. Does anyone know if it's still possible to create lens flares like this in UE4? Per-pixel lens flare is nice and all, but it's very limiting I think (I find it's very useful for lens dirt effect not for anamorphic flares). I still would like to have more control over my flares and place them where I want it to be.

    During a live stream I think they mentioned that. If i remember correctly, they have plans to bring the lens-flare tool back. Leaving the possibility to chose between custom flare of dynamic ones.
  • Yury
    Options
    Offline / Send Message
    Yury polycounter lvl 8
    Froyok wrote: »
    During a live stream I think they mentioned that. If i remember correctly, they have plans to bring the lens-flare tool back. Leaving the possibility to chose between custom flare of dynamic ones.

    Oh cool. That's a good news. I need to watch the stream now. Looks like I'm missing lots of interesting info. Thanks :)
  • littleclaude
    Options
    Offline / Send Message
    littleclaude quad damage
    Mozilla and Unreal Engine 4 Running in Firefox?

    Does this work yet? Or does anyone know the ETA.

    https://blog.mozilla.org/blog/2014/03/12/mozilla-and-epic-preview-unreal-engine-4-running-in-firefox/
  • Computron
    Options
    Offline / Send Message
    Computron polycounter lvl 7
    I believe in one of the streams they said that would be in the next big build, 4.1?
  • BlvdNights
    Options
    Offline / Send Message
    BlvdNights polycounter lvl 8
    Harbinger wrote: »
    Hey BlvdNights, after digging through some of the Effects Cave content I noticed there's already a built-in material function for World Aligned Textures. Doh!

    Still trying to wrap my head around with these material functions and how to use them. Need to sit down and actually play around with them. Basically just "prefabs" of material nodes yes?
  • Gestalt
    Options
    Offline / Send Message
    Gestalt polycounter lvl 11
    Yeah, there were material functions in UDK as well but it seems they're much more extensively used in UE4.

    Going through the Effects Cave they're used all over the place. I don't know if there's a performance reason or if it's mostly to keep the nodes clean and reusable.

    Material functions let you set up a sequence of nodes and treat it like an asset to reuse in other materials. In UE4 you can basically set up entire shaders as material functions and mask them as layers in another material.
  • WarrenM
    Options
    Offline / Send Message
    Right, it's not about performance it's convenience, maintenance and sharing across team members and projects. Shaders are flattened before they are actually compiled - like C++ #include statements. :)
  • moose
    Options
    Offline / Send Message
    moose polycount sponsor
    Functions also exist as their own .uassets - and when updated or changed, will propagate to all materials that use them. Both handy and dangerous, you could fix a problem or add a feature in one fell swoop, but you can also break everything that uses them if you're not careful :)

    Functions aren't just material layers either, you can create a function out of a commonly used series of nodes to your benefit, or do complex math to values, etc. There are a lot of functions that ship with UE4, you can drag & drop them into your materials as you wish! Also, if you "Show Engine Content" in the Content Browser, you can view them and see how they have been built.
  • almighty_gir
    Options
    Offline / Send Message
    almighty_gir ngon master
    Is there any official documentation on how UE4 handles skin shading? how close is it to marmoset etc?
  • Jeka
  • almighty_gir
    Options
    Offline / Send Message
    almighty_gir ngon master
    thanks Jeka,

    neither of those have really "expected" behaviors, it's quite strange. I'll try to document as i go.
  • Jerc
    Options
    Offline / Send Message
    Jerc interpolator
    Hey guys, just wanted to let you know that the Substance plugin for UE4 that lets you tweak your substances at runtime in the Unreal Editor or directly in-game is available for free for all UE4 subscribers.

    More details and download on this page
  • moose
    Options
    Offline / Send Message
    moose polycount sponsor
    that is awesome Jerc!!

    getting a 404 on the github link from your site though :(
1272830323339
Sign In or Register to comment.