Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Turambar on September 04, 2005, 09:22:16 pm

Title: fun with smartshaders
Post by: Turambar on September 04, 2005, 09:22:16 pm
i was just foolin around, thought it looked kinda cool

(http://img221.imageshack.us/img221/2301/screen00137hn.jpg)

(http://img221.imageshack.us/img221/1239/screen00156fo.jpg)

(http://img221.imageshack.us/img221/1636/screen00227wp.jpg)

(http://img221.imageshack.us/img221/9265/screen00281su.jpg)

thats ingame, moving flowing graphics
its nice for a change of pace, you can still see shivans pulsating too
Title: fun with smartshaders
Post by: Black Wolf on September 04, 2005, 09:27:22 pm
You need occasional flashes of superbright colour, then you could call it a Sin City mod :)
Title: fun with smartshaders
Post by: Jeryko on September 04, 2005, 10:00:03 pm
Last one looks like inside of an asteroid. :D
Title: fun with smartshaders
Post by: Omniscaper on September 04, 2005, 11:02:46 pm
Is there a smart shader that can produce high dynamic light range? Cuz if shaders can be made to make games look that TRIPPY then, why not make it usefull. I'm only aware of a Halflife 2 HDLR faker.
Title: fun with smartshaders
Post by: CP5670 on September 04, 2005, 11:05:43 pm
It's blackboard FS2. :D

The shaders might provide a useful way to do environmental mapping. Several modern games do that using shaders. HDR using them is slow and doesn't look as good as the real thing from what I'm hearing.
Title: fun with smartshaders
Post by: DaBrain on September 05, 2005, 04:51:20 am
Quote
Originally posted by Omniscaper
Is there a smart shader that can produce high dynamic light range? Cuz if shaders can be made to make games look that TRIPPY then, why not make it usefull. I'm only aware of a Halflife 2 HDLR faker.


This is not possible as post process. It "too late" already.

Demirug, the creator of the dxTweaker is working on a plugin that allows HDR for all D3D applications. I've no idea about the status, but it's not complete.
Title: fun with smartshaders
Post by: Ace on September 05, 2005, 05:18:21 am
How about coding in "bloom" from glowmaps using this? (Blurred version of the glow maps in the scene as a layer over the image)
Title: fun with smartshaders
Post by: DaBrain on September 05, 2005, 06:08:51 am
Yeah, I had this idea before.

It should look pretty awesome.

I'd like to see motion blur too! Not this cheap effect seen in many racing games, but a movie-like effect, like in Project Offset.

http://www.projectoffset.com/media/project_offset_june_2005.wmv

@Turambar Search for a smat shader called 'HDRish'. ;)
Title: fun with smartshaders
Post by: Turambar on September 05, 2005, 06:32:04 am
i know hdrish, its a little overdone for my taste, even the modified one done before, im just trying different things and seeing the funky results
Title: fun with smartshaders
Post by: Solatar on September 05, 2005, 01:13:55 pm
Make it redish, then hop into a Shivan fighter. Shivan-Vision.
Title: fun with smartshaders
Post by: Turambar on September 05, 2005, 01:47:30 pm
dude, that project offset thing looks sweet

what is it?

i ought to learn to program this thing, so i can make a non-overbright washed out hdrish or something
this is just a simple filter, i found it in my ati tray tools
Title: fun with smartshaders
Post by: mikhael on September 05, 2005, 05:38:59 pm
Quote
Originally posted by CP5670
HDR using them is slow and doesn't look as good as the real thing from what I'm hearing.


HDR slow? absolutely.

HDR not looking as good as the real thing? You're on crack. You can't properly do HDRI stuff in a game engine, but in renders, HDRI guarantees you the truest lighting possible. The best you can get in real time is HDR rendering, which lets the pipeling generate pixel data that's more 'true' than your monitor can display. This is a good way to get the 'movie' look, as the monitor clamps the resulting imagery down the same way as it does when you're watching a DVD.
Title: fun with smartshaders
Post by: Unknown Target on September 05, 2005, 05:54:21 pm
At first I thought u just applied a PS filter over some screenshots...:D
It's very cool looking, mewants :D
Title: fun with smartshaders
Post by: CP5670 on September 05, 2005, 06:04:08 pm
Quote
HDR slow? absolutely.

HDR not looking as good as the real thing? You're on crack. You can't properly do HDRI stuff in a game engine, but in renders, HDRI guarantees you the truest lighting possible. The best you can get in real time is HDR rendering, which lets the pipeling generate pixel data that's more 'true' than your monitor can display. This is a good way to get the 'movie' look, as the monitor clamps the resulting imagery down the same way as it does when you're watching a DVD.


:wtf:

I said that HDR using shaders doesn't look as good as true HDR done with high precision calculations. HDR itself is awesome.

Just what I've heard though. I have only used the OpenEXR HDR in Far Cry and SCCT and haven't gotten around to trying HL2's HDR yet.
Title: fun with smartshaders
Post by: mikhael on September 05, 2005, 06:34:12 pm
I stand corrected. I misread what you said, CP.
Title: fun with smartshaders
Post by: AqueousShadow on September 06, 2005, 12:47:39 am
Trippay...

I especially like the Vasudan comm ani, but it'd probably look cooler in motion. And the explosion is nice too.
Title: fun with smartshaders
Post by: Mongoose on September 06, 2005, 12:57:46 am
Those first two shots would make kickass destop backgrounds; the Valkyrie looks unbelievable like that. :)  How exactly did you get that effect?  And, more importantly, how long until we get it as a command line option? :p
Title: fun with smartshaders
Post by: Roanoke on September 06, 2005, 03:55:14 am
reminds me of the Sonic Visor from Metroid
Title: fun with smartshaders
Post by: Sobbsy on September 06, 2005, 06:40:48 am
Some screenshots with HDRish on Normal. :) (multiple images alert!)

(http://img274.imageshack.us/img274/5313/screen00094na.jpg)

(http://img274.imageshack.us/img274/9759/screen00107kv.jpg)

(http://img274.imageshack.us/img274/2779/screen00118zl.jpg)

(http://img274.imageshack.us/img274/7440/screen00120su.jpg)

(http://img274.imageshack.us/img274/5547/screen00133cd.jpg)

;7
Title: fun with smartshaders
Post by: Mefustae on September 06, 2005, 06:56:45 am
I want it... I want it NOW...! Tell me how to do that...!

If you're reading this, you're not telling me how to do it yet...! :p
Quote
Originally posted by Roanoke
reminds me of the Sonic Visor from Metroid

The only thing that was bad about that Visor, was that you never got to use it as often as I would have liked...
Title: fun with smartshaders
Post by: Turambar on September 06, 2005, 09:11:46 am
ok, it only works with an ATI card, so if you dont have one, there might be another way, but i don't know it

get the ATI Tray tools, go to the opengl tab (and make sure youre running FS2 in OGL), and click settings, then under smartshader, click sketch.  HDRish and HDRish light are there too, but i dont like the way they look

have fun
Title: fun with smartshaders
Post by: Sobbsy on September 06, 2005, 09:34:33 am
More pictures. (56k beware of course) ;7

First one here is a mock-up of Nv's Digital Vibrance, just enhances the colours :

(http://img348.imageshack.us/img348/120/dv11ts.jpg)

These next 3 are using a Sharpen smartshader :

(http://img348.imageshack.us/img348/5319/sharpen12ka.jpg)

(http://img348.imageshack.us/img348/6317/sharpen23pa.jpg)

(http://img348.imageshack.us/img348/8338/sharpen35tp.jpg)

And these next 4 are using Watercolour + Ink Outline smartshader :

(http://img348.imageshack.us/img348/9995/watercolour11oa.jpg)

(http://img348.imageshack.us/img348/1483/watercolour26ij.jpg)

(http://img348.imageshack.us/img348/7590/watercolour41vh.jpg)

Personally, I think sharpen is the best way to view FS2 in opengl. Seeing a 3d shockwave go off with a sharpen filter on is utterly impressive :)

Sorry about the quality, had to reduce the shots to a respectable size (was originally 10mb for the lot).

Also, rather than use ATT for smartshader effects (which has an incredibly limited selection), you should use the Pixel Shader Effects tool, which also comes with about 20 or 30 smartshaders, available here :

http://www.beyond3d.com/downloads/smartshader/pssControl2.zip

http://www.beyond3d.com/downloads/smartshader/psseffects.zip

Extract PssControl2 to any folder, then extract all the effects from psseffects into the same folder as the exe from pssControl2. Then just run the app and select your smartshader.

Also note this is ATi only, sorry Nv users ;)
Title: fun with smartshaders
Post by: Turambar on September 06, 2005, 09:41:33 am
dude, the last one is trippy, i totally wanna give that a shot

Edit: trippy one gives me big slowdowns
Title: fun with smartshaders
Post by: BlackDove on September 06, 2005, 10:51:36 am
Potheads rejoice, for FS2 is your tool of spacing.
Title: fun with smartshaders
Post by: Turambar on September 06, 2005, 11:10:27 am
dude, i so gotta try these flying through a nebula\
Title: fun with smartshaders
Post by: Fineus on September 06, 2005, 11:12:14 am
If only you could do that to effect the space around you but not the ships interface...
Title: fun with smartshaders
Post by: DaBrain on September 06, 2005, 11:19:34 am
I hope Bob's material shader system will allow this. :)
Title: fun with smartshaders
Post by: mikhael on September 06, 2005, 06:43:03 pm
Sharpen Shader FTW! :yes:
Title: fun with smartshaders
Post by: Mav on September 09, 2005, 12:37:47 pm
This stuff looks really funny. :dizzy: How is it done? :confused:
Title: fun with smartshaders
Post by: Mongoose on September 09, 2005, 07:16:46 pm
I can testify as to how cool that first shader looks when it's in motion.  It felt as though I was playing an entirely new game.  Beam combat and shockwaves were real standouts, and the explosion graphics actually looked better shaded like that than in their normal colors.  If the text wasn't so hard to read, I'd play like that a lot more often. :)
Title: fun with smartshaders
Post by: Sobbsy on September 10, 2005, 06:02:06 am
Quote
Originally posted by Mav
This stuff looks really funny. :dizzy: How is it done? :confused:


Check my last reply, I explained what to download and how to do it ;) and remember, it's for ATi users only :)
Title: fun with smartshaders
Post by: DaBrain on September 10, 2005, 09:07:03 am
Actually postfilters are available for all gfx cards.

The DXTweaker allows the use of postfilters for all D3D games (min DX7).

The problem is, there are almost no shaders.

I've just tested the "Saturation increase" shader and it looked quite nice for comic/anime style games like Grandia II, or even Final Fantasy 9 (emulator).
Title: fun with smartshaders
Post by: Unknown Target on September 10, 2005, 11:31:04 pm
So, that being said, is there any way for us Nvidia-ites to get in on all this coolness? :D
Title: fun with smartshaders
Post by: Gregster2k on September 11, 2005, 02:37:31 am
None that I know of. And it takes a lot of tweaking to figure out how to properly make the HDRish effect work nicely in FS2 under an ATI card. It is possible to produce a "perfect" fake bloom, but it causes the video card to die trying to render it.
Title: fun with smartshaders
Post by: Ghost on September 11, 2005, 06:32:27 pm
Could someone give me a more concise explanation on how to do this? If it helps, I'm using an ATi Radeon 9600 with Catalyst.

EDIT:: nevermind, I figured it out. Thanks anyway to anyone who would've helped.

EDIT II: could someone help me out as to where to get to the "ATI Tray Tools" or whatever it was? I wanna try out the HDR shader, but I can't get to it.