Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parallax/Offsetmapping help.

#1
I'm trying to figure out how offsetmapping works in DP/Xonotic. One map in Xonotic (Newtonian Nightmare) got a very pronounced Parallax effect on the floors. But when I tried to emulate this effect using my own textures it didn't seem to work. Is it using the normalmap (coupled with shaderparams) to create the effect or does it use something else?
Reply

#2
It´s using the alpha channel of the normalmap. Fully transparent in the normalmap means deep and opaque means high.

The easiest way to do this is creating a heightmap of your texture where black is the deepest point and white the highest. Then use this heightmap as a layer mask in Photoshop / GIMP so that it will make the black areas of the heightmap transparent in the normalmap.
Reply

#3
Ah, thank you. That makes sense.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Need modelling help. _para 3 1,512 03-17-2023, 02:34 AM
Last Post: anoob
  need modeling help MusicGoat 5 3,634 08-23-2022, 08:34 AM
Last Post: NoClue
  Help, how I create a new texture for mapping? derrant 9 6,433 09-02-2021, 05:08 PM
Last Post: ballerburg9005
  Texture and Player Model Creation Help Molnija 5 6,072 09-30-2018, 12:04 PM
Last Post: Molnija
  Gravity help Molnija 4 3,041 08-17-2018, 01:45 PM
Last Post: Molnija
  Waypoints Help TapX 10 8,128 08-07-2018, 06:59 AM
Last Post: TapX
  Jump pad help. TapX 1 1,938 06-23-2018, 05:04 AM
Last Post: _para
  NetRadiant Spawn points help. TapX 18 10,805 06-06-2018, 11:54 AM
Last Post: Garux
  I need help with textures. [Solved] TapX 5 4,857 05-11-2018, 02:22 PM
Last Post: Julius
  I need help with NetRadiant The Silver Lining 5 5,151 09-03-2016, 05:54 PM
Last Post: The Silver Lining

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-