Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 356 of 554 1 2 354 355 356 357 358 553 554
Re: What are you working on? [Re: Mythran] #436188
01/21/14 11:58
01/21/14 11:58
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain

Re: What are you working on? [Re: txesmi] #436189
01/21/14 12:18
01/21/14 12:18
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
looks awesome except for aliasing


3333333333
Re: What are you working on? [Re: Quad] #436190
01/21/14 12:32
01/21/14 12:32
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
it's true. I always forget it cry

Re: What are you working on? [Re: txesmi] #436191
01/21/14 13:11
01/21/14 13:11
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
You should add a range check to remove SSAO around the candles. Without range check it looks somewhat artifical.

For an explanation click here:
http://john-chapman-graphics.blogspot.de/2013/01/ssao-tutorial.html


Follow me on twitter
Re: What are you working on? [Re: mk_1] #436197
01/21/14 14:15
01/21/14 14:15
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
Implemented a new approach for grass rendering into IceX3 editor. It's based on the shader method Superku mentioned some pages ago in this thread. I also added smooth fading out, better shading and color correction. Works incredibly fast.

The shader works like this:
- the grass is placed by vertex shader from a heightmap of the terrain
- the shading of the grass ignores self shadow gouraud shading. Instead the exact shading as the terrain is used, based on a normal map which was generated out of the terrains normals.
- the grass color is lerped into the color of the terrain texture beneath the grass. For this a diffuse texture is used, which was generated out of the terrains texture.




Re: What are you working on? [Re: oliver2s] #436201
01/21/14 14:34
01/21/14 14:34
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
The shading looks too boring. You probably want to lerp between the terrain normal and the actual grass normal to make it look more interesting.

Re: What are you working on? [Re: Slin] #436203
01/21/14 14:38
01/21/14 14:38
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
Problem is that the grass have just 2 quad polygons (crossed). With standard gouraud shading it doesn't look really good. You can see the same shading problem on the trees in the background (which are also crosses 2D sprites). I guess I have to write a special self shadow shader for stuff like this.

Re: What are you working on? [Re: oliver2s] #436206
01/21/14 15:04
01/21/14 15:04
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
That´s why I proposed to interpolate the normals, so you may just use 30% of the grass normal and 70% of the ground normal or something like that. If the grass is randomly rotated it should look quite good.

Re: What are you working on? [Re: Slin] #436209
01/21/14 16:16
01/21/14 16:16
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
I've implemented your method. The grass normals are used by 1/3 and the terrain normals by 2/3. In the far distance only terrain normals are used, because otherwise the smooth fade would not work properly.



Re: What are you working on? [Re: oliver2s] #436211
01/21/14 16:25
01/21/14 16:25
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Pretty cool and happy birthday! (Only the trees, esp. those in the background, look really weird in the sky, is this some SSAO side effect?)


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Page 356 of 554 1 2 354 355 356 357 358 553 554

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