Announcement

Collapse
No announcement yet.

POM material

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Originally posted by mAlkAv!An View Post
    What's the exact issue(tiling, morphing, not working at all)? Works just fine on landscapes for me.
    As far as I can tell, there isn't any POM effect once I apply it to my landscape. When put in a static mesh or brush it pokes my eyes out, but it's flat on the landscape.

    I did just copy the material code, apply my own textures and slap it on the landscape, is there anything I missed that I need to do to get it to work?
    Last edited by Sitrec; 10-21-2014, 05:46 AM.

    Comment


      #47
      I've tried epics bump offset function and it works fine on landscape, but when I use Ehamloptiran's shader it it doens't work on landscape. Can't figure out why.

      Comment


        #48
        Im getting the same result. When I get some time, I will dig in deeper.
        FluidSurface Plugin: https://github.com/Ehamloptiran/UnrealEngine/releases
        TextureMovie Plugin: https://github.com/Ehamloptiran/TextureMoviePlugin

        Comment


          #49
          How do you produce those heightmaps, Software, and things to take care before making them =? any link ?
          Some cool unreal projects you may like!


          Developer of GOTA - Survivalism Gladiatorial game Buy the game google gladiators of the arena steam https://store.steampowered.com/app/7..._Of_The_Arena/

          Download the demo Download the demo
          external link Dropbox DropBox

          Become a c++ Professional now C++ Networking Tutorial

          Comment


            #50
            Originally posted by Neongho View Post
            How do you produce those heightmaps, Software, and things to take care before making them =? any link ?
            I didn't actually generate any of those heightmaps, two of them are common heightmaps for showing off POM. The others are just the alpha maps from the textures stripped out into their own texture. Im sure there would be ways to bake the height from 3dsmax or maya or blender. But I dont know these methods.
            FluidSurface Plugin: https://github.com/Ehamloptiran/UnrealEngine/releases
            TextureMovie Plugin: https://github.com/Ehamloptiran/TextureMoviePlugin

            Comment


              #51
              Originally posted by Ehamloptiran View Post
              Im getting the same result. When I get some time, I will dig in deeper.
              Great, thanks!

              Originally posted by Neongho View Post
              How do you produce those heightmaps, Software, and things to take care before making them =? any link ?
              There are lots of softwares you can use, either baking them in 3dsmax, xnormal or similar or you can use softwares such as ndo, crazybump, substance designer, bitmap2material and so on to derive them from normal maps or other maps.

              Comment


                #52
                Or, if you have complex geo in Maya or Max, and want to bake it down to a height map:

                Project a 0-1 ramp in X or Z onto your mesh, ensuring the bounds of the projection match your mesh bounds, then render that with an orthographic top-down camera.

                Obviously if your mesh is facing in a direction other than up, you'll have to project and render from slightly different angles, but it should make sense...

                Comment


                  #53
                  Turns out the landscape issue is caused by the height map texture sample parameter. If you simply rename it to something different than 'HeightMap' or use a regular TextureSample node it'll work.
                  3.14159265359

                  Comment


                    #54
                    Originally posted by mAlkAv!An View Post
                    Turns out the landscape issue is caused by the height map texture sample parameter. If you simply rename it to something different than 'HeightMap' or use a regular TextureSample node it'll work.
                    And again you have saved the day mAlkAv!an. That worked perfectly.
                    FluidSurface Plugin: https://github.com/Ehamloptiran/UnrealEngine/releases
                    TextureMovie Plugin: https://github.com/Ehamloptiran/TextureMoviePlugin

                    Comment


                      #55
                      Originally posted by Ehamloptiran View Post
                      And again you have saved the day mAlkAv!an. That worked perfectly.
                      Originally posted by mAlkAv!An View Post
                      Turns out the landscape issue is caused by the height map texture sample parameter. If you simply rename it to something different than 'HeightMap' or use a regular TextureSample node it'll work.
                      Indeed, not the first time mAlkAv!An save me from spending hours trying to figure stuff out. Thank you both for all the help, this was very useful!

                      Comment


                        #56
                        Awesome shader ! Thanks a lot !

                        I've made kind of function from this shader, to make it more handy.
                        But i have run into issue with attempt to make it work with composite heightmaps. Any ideas ?

                        I belive that happens because of "Texture2D_0.SampleGrad" , but not sure.
                        Attached Files

                        Comment


                          #57
                          that parallax occlusion mapping (POM) node in the material editor... someone here coded it in? because i dont have it in my 4.5.

                          if yes, would id be possible to also code SceneCaptureReflectActor? it was in UDK and it is an essential block for something like proper mirror material.

                          Comment


                            #58
                            Originally posted by jazvecina View Post
                            that parallax occlusion mapping (POM) node in the material editor... someone here coded it in? because i dont have it in my 4.5.

                            if yes, would id be possible to also code SceneCaptureReflectActor? it was in UDK and it is an essential block for something like proper mirror material.
                            It's a 'custom' node, I.e. right-click in the material editor and select the custom node. You can type in HLSL to the node to effectively create your custom nodes.

                            Comment


                              #59
                              Originally posted by jazvecina View Post
                              that parallax occlusion mapping (POM) node in the material editor... someone here coded it in? because i dont have it in my 4.5.

                              if yes, would id be possible to also code SceneCaptureReflectActor? it was in UDK and it is an essential block for something like proper mirror material.
                              As TheJamsh said, its a custom node in the Material Editor. I want to look at doing a SceneCaptureReflectActor at some point, but I do remember one of the Epic devs saying he has been working on one on his Free Friday sessions. So he may already be nearly done, and don't really want to work on something that is already being worked on.
                              FluidSurface Plugin: https://github.com/Ehamloptiran/UnrealEngine/releases
                              TextureMovie Plugin: https://github.com/Ehamloptiran/TextureMoviePlugin

                              Comment


                                #60
                                great news, thanks.

                                Comment

                                Working...
                                X