file Shader Mods for MBP

  • Trace
  • Trace's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 301
  • Thank you received: 57
30 Aug 2012 02:41 #1
I'm not really ready to release how I did this yet, and it will never be at the point where you're going to want to use this all the time (probably, I don't control the programming), but here's a demonstration of it in motion:

var pb_ad_url = ads.proboards.com/ad.pl?as=300x250&ap=BT...15&cb=+Math.random() ; document.write('');

As well as before and after shots:





This currently is adding Depth of Field (things in the distance are blurred), SSAO (edges are darkened, shadows changed), bloom, and the screenshot (not the video) includes a Vignette effect where the overall picture is slightly darkened around the edges like a camera shot, however that's not the full possibility of this system (I don't know HLSL code and whatnot).

The reason why I say you would not want to use this forever is because the text glitches slightly using the different renderer, making text hard to see, as well as the blur effect blurring the ingame GUI as well as the level, it also takes a huge hit on your system compared to the original MBP (load times on my computer are 5x longer with the new render, however I still have 60 fps, results may vary). If I can't make it seem any better, I'll release the steps soon enough.

Also, sorry Mac users, this is Windows only.

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
30 Aug 2012 03:32 #2
Quote:The reason why I say you would not want to use this forever is because the text glitches slightly using the different renderer, making text hard to see, as well as the blur effect blurring the ingame GUI as well as the level, it also takes a huge hit on your system compared to the original MBP

Agreed with ya trace on this.

The problem is folks was that MBG was not designed for shaders in mind, as the baby torque test engine wasn't having fantastic shaders (the really good shaders seemed to develop in Torque Game Engine Advanced, hence it was so called the Torque Shader Engine).

So, this thing seems to use external direct x something if i recall correctly. Although a good idea Trace, the programming was obviously made for something not intended to be used in the TGE, as you obviously know from your trial runs of trying to get this thing to work.

Another thing, people have asked me in the past why can't i make shaders. To clear this up, its because there are no SHADER OBJECTS in the marble blast engine, as the console will not define an object with such a type. Even the shadows option in windows options menu is not an object, so it must be engine defined.

All in all, good for trial tests and runs, but I'd never use it in a mod, and I agree with Trace with not using it forever.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
30 Aug 2012 04:28 #3
I like it though. Very good!

Please Log in or Create an account to join the conversation.

  • Trace
  • Trace's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 301
  • Thank you received: 57
30 Aug 2012 16:32 #4
Aug 29, 2012, 8:32pm, jeff wrote:
Quote:The reason why I say you would not want to use this forever is because the text glitches slightly using the different renderer, making text hard to see, as well as the blur effect blurring the ingame GUI as well as the level, it also takes a huge hit on your system compared to the original MBP

Agreed with ya trace on this.

The problem is folks was that MBG was not designed for shaders in mind, as the baby torque test engine wasn't having fantastic shaders (the really good shaders seemed to develop in Torque Game Engine Advanced, hence it was so called the Torque Shader Engine).

So, this thing seems to use external direct x something if i recall correctly. Although a good idea Trace, the programming was obviously made for something not intended to be used in the TGE, as you obviously know from your trial runs of trying to get this thing to work.

Another thing, people have asked me in the past why can't i make shaders. To clear this up, its because there are no SHADER OBJECTS in the marble blast engine, as the console will not define an object with such a type. Even the shadows option in windows options menu is not an object, so it must be engine defined.

All in all, good for trial tests and runs, but I'd never use it in a mod, and I agree with Trace with not using it forever.

Yes it's not practical for full time usage, but it my experience with it so far it really does make the game look a lot better. However it is easy to turn off and on the effects (so if you modded your game with this it isn't permanent). That said, minus the really idiotic way they created the rendering with this early build of TGE, the game isn't really the problem in implementing shaders.

Please Log in or Create an account to join the conversation.

  • Posts: 1949
  • Thank you received: 18
30 Aug 2012 17:50 #5
Looks interesting.

Please Log in or Create an account to join the conversation.

  • RDs.The-dts-guy
  • RDs.The-dts-guy's Avatar
  • Offline
  • Developer
  • Developer
  • Blender pls
  • Posts: 719
  • Thank you received: 188
30 Aug 2012 22:31 #6
My eyes hurted in first 30 seconds of video. ow!
Great work so far even tho it looks more like Minecraft shaders rather than MBU shaders.

Some guy that does DTS shapes and levels.

AWESOME time HINT : When making PQ level place your custom interiors and textures in platinum/data/interiors_pq/custom
makes life easier for you and everyone else :)

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 1.395 seconds