Author Topic: The bump mapping shader thats not too complex and just looks amazing  (Read 7752 times)

0 Members and 1 Guest are viewing this topic.

Offline Xetick

  • Atari ST
  • ***
  • Posts: 132
  • Karma: 80
    • View Profile
    • Plane9
I have been looking for that shader that 'everyone' seems to be using that just make objects look so good. Finally I do think I have found it.

Example of a torus knot without any bump map applied


The same with a noise bump map


So whats so special with this algorithm. For one it looks very good. It's also not too complicated but more specifically it doesn't need any tangents to work. The noise applied in my example is just a real time noise height field generated in the shader. This can of course be any texture or function something that is incredibly useful.

The shader and example program with source can be found on mikkelsen's blog
Plane9 - Home of the Plane9 3d screensaver/music visualizer
Challenge Trophies Won:

Offline Blacksheep8Bit

  • *Custum Title goes here*
  • C= 64
  • **
  • Posts: 91
  • Karma: 36
  • *useless thing to write goes here*
    • View Profile
Thanks for finding this tutorial, even i understood the process behind such beautiful effect :D
Challenge Trophies Won:

Offline egons

  • C= 64
  • **
  • Posts: 31
  • Karma: 0
    • View Profile
wow, I am working on bump mapping too. 10x :clap:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17394
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Nice find there Xetick - Thanks for sharing it with us :)

The bump mapping looks really excellent.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Good one. Thx for sharing!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 399
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Challenge Trophies Won:

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Looks very nice Xetick. I shall have to try and implement this :)
raizor

Challenge Trophies Won:

Offline Xetick

  • Atari ST
  • ***
  • Posts: 132
  • Karma: 80
    • View Profile
    • Plane9
I played around with it a bit more and got the image below. The whole scene is as usual all generated procedurally. The name of the lighting algorithm is Torrance Sparrow with the addition of the normal adjustment linked to at the start of this thread.



Physically based lightning can obviously make all the difference!
Plane9 - Home of the Plane9 3d screensaver/music visualizer
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1215
  • Karma: 230
    • View Profile
    • Homepage
www.kirl.nl
Challenge Trophies Won:

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
I played around with it a bit more and got the image below. The whole scene is as usual all generated procedurally. The name of the lighting algorithm is Torrance Sparrow with the addition of the normal adjustment linked to at the start of this thread.



Physically based lightning can obviously make all the difference!

Xetick, that looks lovely! Like chiseled stone.
raizor

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17394
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
I was going to say that it looks like a stone sculpture too but Raizor beat me to it.

It looks awesome.  :clap:
Shockwave ^ Codigos
Challenge Trophies Won:

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 399
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Really nice!!!
Challenge Trophies Won: