Forums Gallery Downloads LOGIN |REGISTER

Parallax Occlusion Mapping custom texture help

Topics about 3DS Max, Maya, Photoshop, and various other software packages.


 

commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Parallax Occlusion Mapping custom texture help

Postby commando2012 » 25.02.2012, 20:36

Hey guys not sure if anyone can help but how do you make custom textures to use POM?

Left is the one im messing around with right is one of the defaults that come with the engine
Image

here are the settings i have configured.

Image

Thanks in advance
Some 3D Models I have done.
http://dragon3d.webs.com
bazmod
Junior Dev
Junior Dev
 
Posts: 114
Member since: 13.07.2011, 16:18
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby bazmod » 25.02.2012, 20:41

have you got a heightmap as the alpha in your diffuse texture?
commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby commando2012 » 25.02.2012, 20:45

ah no pretty new to this..

how do I go around doing that ?
Some 3D Models I have done.
http://dragon3d.webs.com
XeroX
Developer
Developer
 
Posts: 283
Member since: 08.08.2011, 17:20
Likes: 13

Re: Parallax Occlusion Mapping custom texture help

Postby XeroX » 25.02.2012, 21:08

btw where is the new very high setting mentioned in the release notes to enable POM display?
commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby commando2012 » 25.02.2012, 21:13

Yeah i didnt notice a very high setting, but POM works with high just fine.
Some 3D Models I have done.
http://dragon3d.webs.com
bazmod
Junior Dev
Junior Dev
 
Posts: 114
Member since: 13.07.2011, 16:18
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby bazmod » 25.02.2012, 21:34

you have to enable the very high setting through the console - "sys_spec 4"

I haven't done this yet but I reckon to create a good POM texture you would first have to build a piece of terrain in max/mudbox etc...

Basically you need a heightmap in the alpha channel of the diffuse texture - the lighter a pixel is the more it will make the POM 'stick out'.

Now with some textures such as bricks you can create this easily by converting the texture to a greyscale and putting into the alpha channel. Because the bricks are probably a lighter or darker colour than then mortar the POM will work nicely, however, with a complex scene such as a forest ground with sticks and stones on it (where the brightness won't necesarily match the height) probably the best way to do this well will be to build the scene in Max, and then use that scene to bake out a normal map and a heightmap.

Very briefly to make a simple POM:
get your texture in photoshop
basicTexture.JPG

duplicate the layer, then desaturate it and alter the levels until you have white sticky out bits and black sticky in bits (you'll want to do this neater than I have here)
alterLevels.JPG

now copy this and create a new channel called alpha1 and copy this into that channel
intoAlphaChannel.JPG

Now you need to save your file as a crytiff (with RGB Alpha setting)

and the POM should work :)
commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby commando2012 » 25.02.2012, 22:05

Hey thanks for that Ill have to give this a go when I get back to my computer :)
Some 3D Models I have done.
http://dragon3d.webs.com
commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby commando2012 » 26.02.2012, 00:15

Still cant get very good results that way, am I exporting as any kind of normalmap or just a diffuse ?
Some 3D Models I have done.
http://dragon3d.webs.com
arieas
Producer
Producer
 
Posts: 1147
Member since: 26.01.2010, 01:17
Likes: 29

Re: Parallax Occlusion Mapping custom texture help

Postby arieas » 26.02.2012, 00:35

Try with the displacement in the alpha of the normal map. I see the diffuse has it instead for some textures with the SDK, though it was always in the normal map before, which works here, just needs to be saved as a normal map either high or low quality, which will save it as 3dc.
bazmod
Junior Dev
Junior Dev
 
Posts: 114
Member since: 13.07.2011, 16:18
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby bazmod » 26.02.2012, 01:09

sorry yes just tried it and arieas is correct - it goes in the alpha map of the normal not diffuse
commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby commando2012 » 26.02.2012, 11:59

Well with the texture i was playing around with this is the best I could get. Textrue is not very good really ill try a few others.
Image

So maybe it does need a proper heightmap done to get results like the default textures have.
Some 3D Models I have done.
http://dragon3d.webs.com
Architect
Developer
Developer
 
Posts: 369
Member since: 05.03.2010, 17:23
Likes: 5

Re: Parallax Occlusion Mapping custom texture help

Postby Architect » 26.02.2012, 21:28

this could be useful. haven't watched it yet.
http://www.3dmotive.com/training/free/p ... ollow=true
commando2012
Developer
Developer
 
Posts: 396
Member since: 07.01.2012, 13:00
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby commando2012 » 26.02.2012, 23:18

That tutorial is perfect thanks :)

Just need to teach myself how to get the texture into a zbrush object now hehe :)
Some 3D Models I have done.
http://dragon3d.webs.com
User avatar
neo83_gr
Junior Dev
Junior Dev
 
Posts: 139
Member since: 25.06.2010, 11:22
Location: Greece
Likes: 1

Re: Parallax Occlusion Mapping custom texture help

Postby neo83_gr » 27.02.2012, 14:52

can anyone post some simple instructions for gimp? I'm still trying but nothing...
Architect
Developer
Developer
 
Posts: 369
Member since: 05.03.2010, 17:23
Likes: 5

Re: Parallax Occlusion Mapping custom texture help

Postby Architect » 29.02.2012, 05:22

here's another, just went up today at the crymod youtube channel, thanks to uploader :)

http://www.youtube.com/watch?v=Sd5Avnf_JuU

With these 2 sources this should be an excellent thread for future reference on POM textures


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community