RE: [GD-Consoles] Cg, HLSL, ?
Brought to you by:
vexxed72
From: Paul B. <pa...@mi...> - 2002-08-14 14:17:59
|
In Brute Force we have 115 vertex shaders and 85 pixel shaders. All hand written. Early on we looked at some sort of high level shader language (even partially implemented one), but decided that "we would only have a couple dozen shaders". We chose poorly. ;) =20 As others have said, if you are honestly targetting multiple platforms, then you might not want to look at high level shading languages. On the other hand, if you are primarily targeting one platform, you could tweak and specialize your favorite=20 language for your target - and "make it work" on others. =20 Paul > -----Original Message----- > From: Javier Arevalo [mailto:ja...@py...]=20 > Sent: Wednesday, August 14, 2002 7:36 AM > To: gam...@li... > Subject: Re: [GD-Consoles] Cg, HLSL, ? >=20 >=20 > Jamie Fowlston <ja...@qu...> wrote: >=20 > > the only really viable solution i've heard of is to give=20 > the artists=20 > > access to a library of shaders, and reimplement them per=20 > platform. not=20 > > great, but it works. >=20 > I agree. Could you people guesstimate the number of different=20 > material / shader types used in their games? I would assume=20 > at most a few dozens (with many of them being variations of a=20 > few). Anything under 40 is clearly a job for hand-crafting=20 > them. Even if you have an automated system, you will=20 > definitely leave the option to hand-optimize the most used=20 > (or less optimal when automated) ones. >=20 > Javier Arevalo > Pyro Studios >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online=20 > job board for high-tech professionals. Search and apply for=20 > tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=3D31 > _______________________________________________ > Gamedevlists-consoles mailing list=20 > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-consoles > Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D553 >=20 |