Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Information on shader - any help would be great #120178
03/30/07 04:08
03/30/07 04:08
Joined: Jul 2002
Posts: 1,364
Minbar
M
MaxF Offline OP
Serious User
MaxF  Offline OP
Serious User
M

Joined: Jul 2002
Posts: 1,364
Minbar
Can 3DGS do something like the following Ambient Occlusion and Normal Mix I know this shader is for 3DMax.

SPECS:
HARDWARE: DirectX 9 or higher
TEXTURES:
- Diffuse Texture
- Normal Map Texture
- Ambient Occlusion Texture
- Global Illumination Texture (Diffusely Convolved Cube Map)
INPUTS: - Ambient Color
PASSES: One


Can it be done in 3DGS and if so can this shader be converted.

Last edited by MaxF; 03/30/07 04:51.

Re: Information on shader - any help would be grea [Re: MaxF] #120179
03/30/07 04:31
03/30/07 04:31
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
why did you link the gta 4 trailer?????

Re: Information on shader - any help would be grea [Re: lostclimate] #120180
03/30/07 04:52
03/30/07 04:52
Joined: Jul 2002
Posts: 1,364
Minbar
M
MaxF Offline OP
Serious User
MaxF  Offline OP
Serious User
M

Joined: Jul 2002
Posts: 1,364
Minbar
I was watching GTA4 sorry changed now..



Last edited by MaxF; 03/30/07 04:52.

Re: Information on shader [Re: MaxF] #120181
03/31/07 02:04
03/31/07 02:04
Joined: Jul 2002
Posts: 1,364
Minbar
M
MaxF Offline OP
Serious User
MaxF  Offline OP
Serious User
M

Joined: Jul 2002
Posts: 1,364
Minbar
Any one knows how to build this shader and if its possible.


Re: Information on shader [Re: MaxF] #120182
03/31/07 04:31
03/31/07 04:31
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Nope. It would run too slow. And most of the features needed aren't supported by 3dgs shaders (such as ray-tracing, and extracting hdr maps)...


xXxGuitar511
- Programmer
Re: Information on shader [Re: xXxGuitar511] #120183
04/03/07 15:04
04/03/07 15:04
Joined: Jul 2002
Posts: 1,364
Minbar
M
MaxF Offline OP
Serious User
MaxF  Offline OP
Serious User
M

Joined: Jul 2002
Posts: 1,364
Minbar
Hi xXxGuitar511

I think it does not use HDRI.

It users I believe

- Diffuse Texture (3DGS can do)
- Normal Map Texture (3DGS can do)
- Ambient Occlusion Texture (3DGS should be able to do)
- Cube Map (3DGS I think it can do) -

Quote:

For the lighting in this shader I use a diffusely convolved, high dynamic range image (HDRI) and convert it to a cube map. This cube map simulates light coming from every direction into each point on the model. Then I use the normal from the normal map to look up in the cube map the light that comes from the normal's direction.








Last edited by MaxF; 04/03/07 15:06.

Re: Information on shader [Re: MaxF] #120184
04/03/07 15:34
04/03/07 15:34
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
Possible, but if you take a look at the disadvantages, forget about it.


Follow me on twitter
Re: Information on shader [Re: mk_1] #120185
04/03/07 16:09
04/03/07 16:09
Joined: Jul 2002
Posts: 1,364
Minbar
M
MaxF Offline OP
Serious User
MaxF  Offline OP
Serious User
M

Joined: Jul 2002
Posts: 1,364
Minbar
Hi mk_1

Done a few searches on Google and can't see disadvantages that pop up, lots of games use ambient occlusion.

I'm looking for ambient occlusion more then full GI, but that shader looks good

Last edited by MaxF; 04/03/07 16:10.
Re: Information on shader [Re: MaxF] #120186
04/03/07 16:17
04/03/07 16:17
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
Quote:

Also, the global illumination map looks best for the one spot in the environment where it was created. If you apply the shader to a moving character, you need to create a new cube map for each area of your world and come up with a method for telling the shader which cube map to use based on proximity.

Finally, this shader has no support for dynamic (moving) light sources. That means that it won't respond to torches moving by, bright explosions, etc.





Follow me on twitter
Re: Information on shader [Re: mk_1] #120187
04/03/07 22:23
04/03/07 22:23
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I'd recommend sticking with a simple normal mapping shader, unless you feel up to the challenge. But I don't see it happening realistically in 3DGS...


xXxGuitar511
- Programmer
Page 1 of 2 1 2

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