Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: At on October 27, 2006, 08:58:33 pm

Title: Paralax Mapping?
Post by: At on October 27, 2006, 08:58:33 pm
http://en.wikipedia.org/wiki/Parallax_mapping

Could this be put on the request list for the next next release?  Like the one after what ever you guys are doing now?

... Ooor, actually when ever GLSL/shaders are implemented, this could probably be done via that.

... Eh.  Food for thought, anyway.  And really nifty.
Title: Re: Paralax Mapping?
Post by: DaBrain on October 28, 2006, 04:14:41 am
Hey AT. ;)

GLSL shader support is already beeing worked on. Same goes for normal mapping.
But the next stable build version has the top priorty. When it's done we'll just have to wait a bit... or use the time to prepare our content for. this.

Paralax mapping is pretty nice, but I think normal mapping will do for now. 
Title: Re: Paralax Mapping?
Post by: wolf on October 28, 2006, 08:42:41 am
Paralax mapping is pretty nice, but I think normal mapping will do for now. 
Assuming we have GLSL and normal mapping, adding paralax mapping is trivial from the code side. It would require adding height maps, though.
Title: Re: Paralax Mapping?
Post by: Taristin on October 28, 2006, 12:44:33 pm
I would love to see beams leaving ginormous pock marks in other ships, like that >..>;
Title: Re: Paralax Mapping?
Post by: At on October 28, 2006, 09:31:52 pm
I know shader support isn't to priority right now.  Just saying that when it's around...

And yus, it'd require a hight map.  Still fun though.

One idea I had was to make micro-details on the surfaces of ships when you're close to them.  Of course, we already have normal maps for that, but ... yeah.  The craters thing would be fun, though.  Carve out your name on someone's hull...
Title: Re: Paralax Mapping?
Post by: DaBrain on October 29, 2006, 03:12:04 am
Paralax mapping is pretty nice, but I think normal mapping will do for now. 
Assuming we have GLSL and normal mapping, adding paralax mapping is trivial from the code side. It would require adding height maps, though.

Correct me if I'm wrong, but I thought the max supported Shader version is 2.0. So this might be a problem, cause I think paralax mapping needs some 3.0 instructions.
Title: Re: Paralax Mapping?
Post by: wolf on October 29, 2006, 05:20:41 am
Correct me if I'm wrong, but I thought the max supported Shader version is 2.0.
GLSL covers both SM 2.0 and SM 3.0. Of course SM 3.0 is only available if your card supports it.

Quote
So this might be a problem, cause I think paralax mapping needs some 3.0 instructions.
No, it works perfectly fine with SM 2.0.
Title: Re: Paralax Mapping?
Post by: DaBrain on October 29, 2006, 06:51:06 am
GLSL covers both SM 2.0 and SM 3.0.

I know, but FSO doesn't/won't.

No, it works perfectly fine with SM 2.0.

Then I'm looking forward to see your paralax shader in action.
Title: Re: Paralax Mapping?
Post by: taylor on October 29, 2006, 08:12:17 am
GLSL covers both SM 2.0 and SM 3.0.

I know, but FSO doesn't/won't.
Yep, it does/will.
Title: Re: Paralax Mapping?
Post by: DaBrain on October 29, 2006, 08:17:25 am
Oh... I thought it was limited to SM 2.0 for now...


Sorry, I guess I was wrong then.
Title: Re: Paralax Mapping?
Post by: taylor on October 29, 2006, 08:57:50 am
It will be limited to SM 2.0 and SM 3.0 at first.  Basic support for 1.1 and others (such as NV specific stuff) will come after the code has otherwise been completed.
Title: Re: Paralax Mapping?
Post by: ShivanSpS on October 29, 2006, 10:45:53 am
I cant wait to see those shadders in action :D
Title: Re: Paralax Mapping?
Post by: pecenipicek on November 04, 2006, 08:22:20 am
No, it works perfectly fine with SM 2.0.
it works with SM1.1 too, F.E.A.R. has it and i noticed it. looks really spiffy, even when you look at it from the sides.