Really cool grass shader

Discussion about everything. New games, 3d math, development tips...
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post by sRc »

nah, still doing the same thing... may be something with this Windows (new installation I'm still working on setting up everything in), I'll have to check it tomorrow in my other one

not using per-pixel lighting stops the shader errors in the console, but the grass still is doing the color-changing and texture freaking out
The Bard sRc

Blog | Twitter
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Download the file
http://irrlichtirc.g0dsoft.com/BlindSide/grassexe.zip and use the shader file included with that if the original download doesnt work.

I am 100% sure that you did not download an up to date version of the original, as the server sometimes takes a while to update..
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post by sRc »

ahh there we go, grassexe is working, and looks really nice now :)

btw just redownloaded the other one, fresh, and it still isnt updated :?
The Bard sRc

Blog | Twitter
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

that is nice!
Image
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

I don't have 1.4beta, can u compile it with 1.4 please.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

i was reading a chapter in gpugems2 yesterday about billboarding of grass textures.

one nice feature i read was controlling color texture by means of setting a vertex component, the effect created was interesting to see.

shadowed, brightly lit, lush green to dry brown colors were shown in that chapter.
Image
deadbeef
Posts: 14
Joined: Thu Apr 08, 2010 11:09 am

Post by deadbeef »

Its a really nice shader and i would like to use it but as i see irrlicht uses Y axis as height and that shader uses Z axis as height so it doesnt work with irrlicht.

Can anyone post a C++ source code to run that shader in Irrlicht ?

Ok NVM i already got it.
Post Reply