Page 1 of 1
Parallax Mapping through Custom shaders...
Posted: Mon May 17, 2010 0:50
by Janitor
possible?
Re: Parallax Mapping through Custom shaders...
Posted: Mon May 17, 2010 8:35
by dark-slayer-201
This can be possible if you do it your self, or get someone who would like to do it.
Parallax/Relief mapping does not require Bump Mapping etc, so it is pretty possible.
Re: Parallax Mapping through Custom shaders...
Posted: Tue May 18, 2010 2:18
by DaniJ
Parallax Mapping is old school man... hardware accelerated Displacement Tessellation maps are where its at. Parallax mapping is now pretty much redundant except on older hardware.
Re: Parallax Mapping through Custom shaders...
Posted: Tue May 18, 2010 7:06
by Graf Zahl
Where do I miss the irony in that post...?
Re: Parallax Mapping through Custom shaders...
Posted: Tue May 18, 2010 11:57
by Gez
This thread refers to
this feature, not to any potential feature request.
Re: Parallax Mapping through Custom shaders...
Posted: Tue May 18, 2010 13:00
by dark-slayer-201
Does this support Pixel or Vertex Shading using external files?
Re: Parallax Mapping through Custom shaders...
Posted: Wed May 19, 2010 19:01
by DaniJ
Graf Zahl wrote:Where do I miss the irony in that post...?
I took my time to very carefully word that post (particularly the use of the "old-school" term and the phrasing). I simply couldn't resist making that post..., in a thread about using fragment shaders in a DOOM port.
@dark-slayer
Yes GZDoom supports fragment ("Pixel") shaders, though to my knowledge there is no vertex shader support. However unless I'm very wrong about this you'd need to modify the source to get Parallax Mapping working as you'd need both per-fragment normal offsets and per-surface normal data (which is not available).
Re: Parallax Mapping through Custom shaders...
Posted: Wed May 19, 2010 21:06
by Graf Zahl
The entire shader interface is very, VERY limited. You won't be able to do much more than simple texture warping and lighting effects with it at the moment. If something requires normals, second textures or additional parameters it's pretty much not doable.