Forums Gallery Downloads LOGIN |REGISTER

Sebastian's dof bokeh shader with custom shapes - RELEASED

Use this section to show off your CE2 assets


 

sebastian___
Not my first Rodeo
Not my first Rodeo
 
Posts: 521
Member since: 01.12.2007, 20:29
Location: Germany
Likes: 3

Sebastian's dof bokeh shader with custom shapes - RELEASED

Postby sebastian___ » 05.03.2010, 19:51

Reupload:
DOF BOKEH shader released. 4 different shaders with 2 main shapes
download links

user errorlogin patched version


--------------------------------------
Link redirection from my signature :

Procedural Dirt Shader Image Image

Image Distance shadows and CVARS sliders

ImageAdjustable Vignette


Image The Glow / Bloom Shader - adjust the size/intensity

---------------------------------------

DOF shaders

update : short movie


Image

Image

http://www.youtube.com/watch?v=4No43o7zkDQ

[youtube]<iframe width="853" height="480" src="http://www.youtube.com/embed/4No43o7zkDQ" frameborder="0" allowfullscreen></iframe>[/youtube]

---------------

Image

high res http://img651.imageshack.us/img651/6267/helencircleshapehires.jpg

Image


This thread is a continuation of this old topic.

I have a new method – with custom shapes for bokeh... like the traditional hexagon, circle, some unusual shapes and other features.

Here in these real photos you can observe how the bokeh has different shapes depending on the camera type or the lenses.
Image

Zoom :

Image


Observe also in some of the photos, the border of the bokeh has a pronounced edge line.
Image



Testing in Sandbox the different bokeh shapes:
Image

Bokeh with enhanced edge border / or with no edge - Zoom in:

Image

Image

Image

Image

Image

Image

Image

A weird shape – number seven in this case – proving the any shape is possible. I’ve seen on the internet pictures made by others with heart shapes or the Apple logo :)


The shapes used for creating the bokeh.
Image


A few of the older pics posted here on Crymod:

Image

Image

Image
Last edited by sebastian___ on 10.10.2011, 12:25, edited 11 times in total.
User avatar
[P.W.N]UltraNOOB
Not my first Rodeo
Not my first Rodeo
 
Posts: 557
Member since: 22.05.2009, 12:03
Location: Germany
Likes: 1

Postby [P.W.N]UltraNOOB » 05.03.2010, 19:54

This Screenshots look great.

How do you apply the shader and is the file released already?
Image
Crysis Tokyo City Modification. Play in the biggest city of the world.
chicken2
Producer
Producer
 
Posts: 1494
Member since: 04.01.2008, 02:08
Location: Germany
Likes: 0

Postby chicken2 » 05.03.2010, 20:38

to bad its not wwork with e_screenshot X(
Image
sebastian___
Not my first Rodeo
Not my first Rodeo
 
Posts: 521
Member since: 01.12.2007, 20:29
Location: Germany
Likes: 3

Postby sebastian___ » 05.03.2010, 20:41

What are you talking about ? all the screens here are made with e_screenshot :) I don't like e_screenshot cause it messes the terrain AO - but in these heavy DOF pics is not noticeable.

That's so great about DOF - only your subject is in focus / visible
Last edited by sebastian___ on 05.03.2010, 20:42, edited 1 time in total.
raxxxor18
Producer
Producer
 
Posts: 1384
Member since: 17.03.2008, 21:31
Location: Germany
Likes: 0

Postby raxxxor18 » 05.03.2010, 20:44

will you ever release this to us? :puppy: :puppy: :puppy:
Kinda back..
User avatar
TerrorBlast
Has seen it all
Has seen it all
 
Posts: 6496
Member since: 13.10.2008, 19:48
Location: Squiggers' kitchen
Likes: 0

Postby TerrorBlast » 05.03.2010, 20:48

Epic bokeh effects mate :D


Although not extremely original as there are already 2 people working on it :P :P ah well :D
- It's all about the bread.
sebastian___
Not my first Rodeo
Not my first Rodeo
 
Posts: 521
Member since: 01.12.2007, 20:29
Location: Germany
Likes: 3

Postby sebastian___ » 05.03.2010, 20:50

Lol. I will ! But first I have to finish the damn dirt shader ;)

Originally posted by TerrorBlast
Although not extremely original as there are already 2 people working on it :P:P ah well :D



I was first. Check the dates on this . I was using it myself and for my movie. Shame on me I didn't thought about before to post it :)
Last edited by sebastian___ on 05.03.2010, 20:59, edited 1 time in total.
User avatar
Cry-Styves
THE Shader Guy
THE Shader Guy
 
Posts: 3049
Member since: 11.09.2008, 21:08
Location: Frankfurt
Likes: 48

Postby Cry-Styves » 05.03.2010, 21:28

You were not the first to attempt bokeh, _sebastian. You were the first to attempt increasing the DOF quality, that's something entirely different. Claim it all you want by saying you "never posted it", but the fact of the matter is you increased the quality, you didn't attempt bokeh - you sent me your shader to prove that. :P

Anyway, I really like your DOF, especially that 7 shape. Must have been a very complex shape to create. However, your shader seems extremely impractical for real-time use (that's an insane amount of samples). Then again, your goal isn't real-time anyway, so I guess it doesn't matter. I can't wait to see a heart-shaped bokeh ;)


Btw, you may want to test the scene in the island level where Jester gets taken. I've found that they didn't accurately place the DoF in a lot of scenes (this one specifically), so you may want to compensate by increasing the focus range when there's more blur, otherwise he won't be in focus. This happens in a few other cutscenes as well, I'm sure, so if you have any plans on your DoF being used in Crysis SP, be sure to fix that :)
Last edited by Cry-Styves on 05.03.2010, 21:36, edited 4 times in total.
sebastian___
Not my first Rodeo
Not my first Rodeo
 
Posts: 521
Member since: 01.12.2007, 20:29
Location: Germany
Likes: 3

Postby sebastian___ » 05.03.2010, 22:00

I did wanna re-record the Crysis cut scenes using this shader but I didn't had time. Should look interesting.

I didn't send you my shader. My shader was almost double in size, filled with experiments and comments and ramblings :) . I took the original Crysis shader and placed only the code ideea you requested. The problem with bokeh was the difficulty of creating the shape. But then I found an automatic way ;)

I didn't post a more defined shape because my topic remained unanswered for 2 years. Lol :)

Anyway it doesn't matter. I'm sure there are other users on this forum, with great unpublished shaders. I have several other shaders - like improved motion blur quality, AO, Glow and bloom improvements, particle work and others. I mentioned the glow shader work in the past - but if no one is interested I won't post those :)
User avatar
Larsera
Just getting started
Just getting started
 
Posts: 49
Member since: 20.02.2008, 16:36
Location: Norway, Telemark, Porsgrunn
Likes: 0

Postby Larsera » 05.03.2010, 22:10

Originally posted by sebastian___
Anyway it doesn't matter. I'm sure there are other users on this forum, with great unpublished shaders. I have several other shaders - like improved motion blur quality, AO, Glow and bloom improvements, particle work and others. I mentioned the glow shader work in the past - but if no one is interested I won't post those :)


WHAT!?!, i'm very very very interested :D
Your work is awesome !
User avatar
Paul Simon
Just getting started
Just getting started
 
Posts: 75
Member since: 30.01.2010, 06:23
Likes: 0

Postby Paul Simon » 05.03.2010, 22:17

Are there any released Bokeh shaders for people to use?
User avatar
VinoBob
Producer
Producer
 
Posts: 1764
Member since: 11.03.2009, 19:43
Location: in da hood
Likes: 25

Postby VinoBob » 05.03.2010, 22:31

Gosh the one with the hexagon shape looks awesome! Could you combine this with a glow effect? It would look breathtaking with reflecting water waves.
"I gots to talk. I gotta tell what I feel."
User avatar
Puppy
Executive Producer
Executive Producer
 
Posts: 3901
Member since: 23.04.2008, 19:49
Location: Horsham, West Sussex
Likes: 60

Postby Puppy » 05.03.2010, 22:45

Good work as always seb.
Freelance Lighting/Visualization Artist
User avatar
Cry-Styves
THE Shader Guy
THE Shader Guy
 
Posts: 3049
Member since: 11.09.2008, 21:08
Location: Frankfurt
Likes: 48

Postby Cry-Styves » 05.03.2010, 23:53

Originally posted by sebastian___
I didn't send you my shader. My shader was almost double in size, filled with experiments and comments and ramblings :) . I took the original Crysis shader and placed only the code ideea you requested. The problem with bokeh was the difficulty of creating the shape. But then I found an automatic way ;)


Ah ok. Either way, you should've mentioned something, I wouldn't have bothered to even try it.

Anyway, I'm interested in what you did for the shapes. You said it's "automatic", so I'm intrigued.
User avatar
Tom Yum 72
Producer
Producer
 
Posts: 1161
Member since: 06.01.2010, 12:10
Location: Safe House
Likes: 2

Postby Tom Yum 72 » 06.03.2010, 00:01

Originally posted by sebastian___
I did wanna re-record the Crysis cut scenes using this shader but I didn't had time. Should look interesting.

Anyway it doesn't matter. I'm sure there are other users on this forum, with great unpublished shaders. I have several other shaders - like improved motion blur quality, AO, Glow and bloom improvements, particle work and others. I mentioned the glow shader work in the past - but if no one is interested I won't post those :)


Re-record the cutscenes? YES,PLEEEASE :D
And who is not interested in your shaders? Post them please sebastian_

Amazing screenshotz :D

" improved motion blur quality, AO, Glow and bloom improvements, particle work and others"

I want them all ;)
Last edited by Tom Yum 72 on 06.03.2010, 00:03, edited 1 time in total.
http://tomyum72.deviantart.com/gallery/
" Adult Supervision Is Required ! "
ฝันเป็นจริง :) :)


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community