Update for the ShaderLib from VICO Game Studio

Finally found a bit of time to update and fix some bugs for my Shader Library.

No new effects just yet but I do have FXAA, God Rays and Gamma post processors in the works.

Please test out this release and let me know what you think or any bugs you may find. As well as any recommendations.

Thank you.


Posted 06-13-2012 1:26 PM by UjenT

Comments

JohnK "bobthecbuilder" wrote re: Update for the ShaderLib from VICO Game Studio
on 06-13-2012 8:41 PM

Awesome work UjenT!

Your resource looks fantastic, thanks for making it available to the entire community!

Direct link to the resource:

www.synapsegaming.com/.../resource.aspx

UjenT wrote re: Update for the ShaderLib from VICO Game Studio
on 06-14-2012 12:29 AM

Thank you JohnK,

I also think I found a bug where I get an exception stating my custom entity is not registered in the serialization dictionary when loading a scene. This goes away if I create a new temp instance of my entity before loading the scene. Kinda strange, let me know if I should post a bug report.

JohnK "bobthecbuilder" wrote re: Update for the ShaderLib from VICO Game Studio
on 06-14-2012 9:53 AM

Hi UjenT,

It sounds like the assembly containing your entity is not yet loaded by the game (.Net uses lazy loading).

Using either SunBurn's Plugin Manager to add the resource to the project, or calling:

SunBurnCoreSystem.ManuallyLoadPlugin<YourPluginClass>();

Will correctly load the plugin and ensure its assembly is available when the game launches.

UjenT wrote re: Update for the ShaderLib from VICO Game Studio
on 06-14-2012 11:22 AM

I see, thanks John. I'll make sure to include this in my examples.

ptp_pitt wrote re: Update for the ShaderLib from VICO Game Studio
on 06-15-2012 3:49 AM

Hi

It is a great job ! But for now, it don't work :(

I have a scene load bug after adding it...

Thanks

cemalsensivas wrote re: Update for the ShaderLib from VICO Game Studio
on 06-15-2012 4:59 AM

Should we using the plug-in manager ? add only to project or content project too ? In editor cant see the entity :(

UjenT wrote re: Update for the ShaderLib from VICO Game Studio
on 06-15-2012 1:19 PM

If your not seeing it, try adding this before your scene is loaded: var temp = new VICOGSPostProcessorsEntity();

Or what John suggested: SunBurnCoreSystem.ManuallyLoadPlugin<VICOGSPostProcessorsEntity>();

This will load the assembly into memory and make it available to your game.

ptp_pitt wrote re: Update for the ShaderLib from VICO Game Studio
on 06-18-2012 3:52 AM

It doesn't work for me... Do you have a sample for seing what is bad for me ?

UjenT wrote re: Update for the ShaderLib from VICO Game Studio
on 06-18-2012 11:55 AM

I do and I'll upload it as soon as I can.

ptp_pitt wrote re: Update for the ShaderLib from VICO Game Studio
on 06-19-2012 3:09 AM

Thanks !

Duckocide wrote re: Update for the ShaderLib from VICO Game Studio
on 09-22-2012 5:13 AM

I'm probably missing something really simple, but I an't seem to get the latest plugin working. I've added the line of code before scene loading...

SunBurnCoreSystem.Instance.ManuallyLoadPlugin<VICOGSPostProcessorsEntity>();

Added the post processor to the scene as per the VICO video. But, it's not working and the video refers to a class that I can't locate...

VICOGSPostProcessorsStaticProperrties.SetupProperties(Services, graphics, sceneInterface);

Help :)



Please login to post comments.