Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 938 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Converting a steep parallax shader #128924
05/09/07 17:30
05/09/07 17:30
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
Im trying to convert this shader to hlsl, and make it usable to 3dgs, but im not sure if it will work, can someone who is a little more expirienced then me check it out to see if its even possible, right now im just trying to change the vec's to floats, setting up the sampler, and im trying to figure out how they are doing stuff.

Re: Converting a steep parallax shader [Re: lostclimate] #128925
05/09/07 18:01
05/09/07 18:01
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
GLSL to HLSL is a lot harder than it looks, good luck trying


BASIC programmers never die, they GOSUB and don't RETURN.
Re: Converting a steep parallax shader [Re: lostclimate] #128926
05/09/07 18:03
05/09/07 18:03
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Sure its possible, I have converted such shaders before...

However, this shader only appears to give you the pixel shader, and you need a vertex shader to go with it. There is a link on the page to a more complete implementation, just get that play around with it. However, sometimes its frusturating to convert such sahders, and often it wont seem to work.

Frankly i think Steep parrallax, relief mapping, etc are not so great as they are very slow.


Sphere Engine--the premier A6 graphics plugin.
Re: Converting a steep parallax shader [Re: Matt_Aufderheide] #128927
05/09/07 19:14
05/09/07 19:14
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
yes, i just figure, if i have a detail slider bar that gives my client one more option for detail


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1