just thought id show this screen, looks alot like cryengine gi its the simplest ao solution i could come up with, just check for cavities
and dot product it with the viewspace normal. then adding the sun and sun shadows
finishes it off, and you get this really nice ambient effect. note -> no blue used, with all
the bright light everywhere the grey just ends up looking blue. also its going 12 fps, without
the shadows it would go about 40, its just ive got this really stupid shadow maker at the moment i plan
on swapping to shadow maps soon. theyll come out alot better. ambient light is at 0.75f in this shot, so its pretty bright, but i like it bright!
from further back ->
i used to think ssao was pretty crappy compared to real ao, now im actually into this ssao shortcut thing. it looks kinda cool!
I can never help myself, now its going 1fps but heres one bounce of global illumination.
reduced the size of the screen and got it to 10 fps
I think it looks awsome, wish the effect wasn't so expensive but really nice renders. is that dx11? how many polies does your charactor have, would reducing it , using tessellation for the detail or hardware instancing be of any benefit to performance with this effect? just curious...
thanks man! yes dx11. its about 200,000 polys i think all up, one character. id benefit probably only 5 or so fps if i reduced the character more, really all the work is the actual rendering unfortunately. but yeh, if i was rendering even more it would definitely go even slower, but the real area to optimize is the screenspace effect.
im thinking hard about how i could possibly get it to go faster, if i reduce quality it can go fast, if only i could reduct quality in a way its not so bad for the look of it?
enhanced the colour spreading. at 4fps.
just in case your interested, here it is going 21 fps, playable speed, its just it looks really shit, put bluntly. if only there was some way i could blur this or something... im thinking...
The way I do AO is very cheap.
I run the object through shadevis and store the AO value in the mesh data. Then just use this combined with the global ambient light setting.
It's really cheap so shouldn't slow you down at all. I think your bottle neck must be somewhere else unless you are doing the AO on the fly.
The only problem I have with shadevis is that it assumes the object is orientated with "up" in a specific direction. If your object is generated in a different coordinate system it goes wrong.
That's trivial to get around though.
What are those streaks on the ground? Maybe that's something to do with whatever is slowing your code :mellow:
success!! 16 fps!
I cut rays down, added mips to the screen and read off those instead of just single pixels, sorta making "cone rays" and then used a blur technique to final gather it, and it funnily looks like subsurface scattering.
(note smooth ground occlusion)
(definitely looks best with the direct light showing)
Good work rouncer!
What about trying less samples + bilateral blur (or are you actually using bilateral blur now)?
> then used a blur technique to final gather it, and it funnily looks like subsurface scattering
Isn't that how you would usually do sss?
thanks Vilem! a post from you means everything!
Yeh Geon! I dont think you could get quite to realistic marble just by blurring tho...
yeh as it is, the blur is totally unoptimized and slowing it down, ive got a funny feeling this could get to 20fps The blur is just a 20x20 per pixel sampler, so thats not bilateral or anything, in other words REALLY slow.
love this.... hehe
great enhancments and really like the look of it!
heres 1280x1024 (big guns) , running 5 fps.
20 fps... the blur slows it down when you go too close, this is about the right distance and it goes real nicely