Jump to content

Work In Progress: lens effects post processing


jahow
 Share

Recommended Posts

Hi,

 

I'm currently working on a new RenderPipeline object that will offer many possibilites to achieve photograph-like realism. Please take a look here and don't hesitate to tell me any suggestion/idea you have in mind, including on the code:

http://onirium-games.com/temp/lens_vfx_test/

 

Effects included in the pipeline are:

- chromatic aberration (slight shift of red, blue & green)

- lens distortion

- edge blur

- depth-of-field blur with highlight enhancing

- grain

 

I will of course make a PR of this once it's done!

 

Thanks :)

 

Note: some of these effects (especially the depth blur) are very GPU intensive, and I believe must be only used on computers/laptop with proper graphic chipset.

 

post-8339-0-03862200-1423840818_thumb.pn

Link to comment
Share on other sites

For me the demo returns an error, here my console log (latest chrome):

 

BJS - [17:57:11]: Babylon.js engine (v2.0.0) launched
babylon.20.debug.js:2927 BJS - [17:57:12]: Valid manifest file not found. Scene & textures will be loaded directly from the web server.
babylon.20.debug.js:2945 BJS - [17:57:13]: Unable to compile effect: [object Object]
babylon.20.debug.js:2945 BJS - [17:57:13]: Defines: 
babylon.20.debug.js:2945 BJS - [17:57:13]: Error: Failed to create D3D shaders.
 
babylon.volumetricLightScatteringPostProcess.js.map:1 GET http://onirium-games.com/temp/lens_vfx_test/babylon.volumetricLightScatteringPostProcess.js.map 404 (Not Found)
Link to comment
Share on other sites

BJS - [13:49:53]: Babylon.js engine (v2.0.0) launched

babylon.20.debug.js:2945 BJS - [13:49:54]: Unable to compile effect: [object Object]

babylon.20.debug.js:2945 BJS - [13:49:54]: Defines: 

babylon.20.debug.js:2945 BJS - [13:49:54]: Error: Failed to create D3D shaders.

 

Chrome Version 40.0.2214.111 m (64-bit)

Link to comment
Share on other sites

Could you try Chromium instead of Chrome ? (or the french version :lol: )

I use Chromium with Linux and it works, even on my old laptop at home (well, only 7 fps there, but works :) )

 

works at 30 fps on my recent desktop at office with GPU Nvidia Quadro K620

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...