Forum

  • Index
  •  » Rendering
  •  » Does Guerilla use mipmap levels to move vertices when applying displac

#1 2016-04-06 21:30:05

Narann
Member

Does Guerilla use mipmap levels to move vertices when applying displac

Hi all!

I was wondering: Does Guerilla use mipmap levels to move vertices when applying displacement?

If so, is there a way to prevent Guerilla to do so (and so, use level 0 when sampling for displacement values).

We have some displaced geometries poping during camera movement.

Thanks in advance.

Offline

 

#2 2016-04-06 22:09:14

Narann
Member

Re: Does Guerilla use mipmap levels to move vertices when applying displac

After some more advanced tests, you seems to always sample the level 0 of the mipmap for displacement.

That's good! Thanks!

Offline

 

#3 2016-04-08 10:08:18

Ben
Guerilla dev, the guy to hug

Re: Does Guerilla use mipmap levels to move vertices when applying displac

Hi Narann,

The displacement uses the mesh topology to deduce derivatives and mipmap level, so it does not necessarily uses level 0.
Yet, if you want to ensure level 0, just make sure the texture node has Width = 0.
That should do it!

Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#4 2016-04-08 15:45:03

Narann
Member

Re: Does Guerilla use mipmap levels to move vertices when applying displac

Thanks Ben!

The displacement uses the mesh topology to deduce derivatives and mipmap level, so it does not necessarily uses level 0.

This mean it's camera independant am I right?

Offline

 
  • Index
  •  » Rendering
  •  » Does Guerilla use mipmap levels to move vertices when applying displac

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB