Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Yes, the headline is appropriate for this topic. I was told by any online search and AI that obtaining the depth buffer in CopperCube was not possible due to the forward rendering of the engine limitations and thats why I sent so much time getting it to re-render a second pass every frame to get a working depth buffer at a significant performance cost. Yesterday after mucking around with Google Gemini it said that there is a hack that can be done to access the depth buffer without any second pass at all and not even affecting the performance. I didnt really beleive it but indulged its halucinations with its code adjustments into a new copy of the latest source code. It seemed to almost get there so used another AI to get passed the finish line and finally see the single pass depth in all its glory...crap....it friggin works !! Now I can have advanced post processing at no extra cost apart from its own code cost which is usually quite small. I just tested it with per pixel spotlight and its working perfectly and no real performance cost either....damn...it took me so much effort to get that 2nd pass to work and now its no longer needed....which is good news of course ! Get ready for some better advanced post processing I guess... |
||||
|
Great news! Thanks for the work you've put into this |
||||
|
I know to little about depth buffers, but it sounds promising! |
||||
|
Interesting news, I use the coppercube free edition I am searching one way to get and use the depth buffer in coppercube, because to improve the graphics and create more advanced screen shaders is necessary the color buffer, normal buffer and depth buffer, with depth I could create one SSGI or SSR, and one more realistic bloom. Then the question is, Robbo the methods you discovery only work with Binaries, dll ou custom exe launcher or can be applyied use javascripts scripts and hlsl scripts in coppercube 6.7 free version? Thanks by the attention |
||||
|
swordmaster wrote: Interesting news, I use the coppercube free edition I am searching one way to get and use the depth buffer in coppercube, because to improve the graphics and create more advanced screen shaders is necessary the color buffer, normal buffer and depth buffer, with depth I could create one SSGI or SSR, and one more realistic bloom. Then the question is, Robbo the methods you discovery only work with Binaries, dll ou custom exe launcher or can be applyied use javascripts scripts and hlsl scripts in coppercube 6.7 free version? Thanks by the attention The depth buffer can only be accessed through my binary at the moment as it takes specific source code changes to access it. Any post processing that accesses this depth buffer has to be coded inside the same source code also. I am not aware of any way to export the depth texture so it can be accessed externally via a Action extension. |
||||
|
thanks the answer Robbo, in my case then I will need to try to find one way to getting or inject my one custom normal and depth buffer rendering in a second pass every frame to get a working normal buffer and depth buffer in coppercube free version, in other words I will need to get render to texture to try get and storage these normal and depth buffer in slot of texture of one plane and use to inject in post processing with the effects like blur and bloom, for curiosity did you find one way to make this second rendering with depth buffer? I don t know if you did saw this link but there are some interesting effects from irrlitch in this link: https://github.com/monstrobishi/xeffects |
||||
|
Hey swordmaster, this type of thing accssing both normals and depth buffer I already got working previously in the source code when I was playing around with SSAO. 2 ways I think might help here: 1. You get access to the source code yourself and get it coded up yourself using c++ (can be done but lot of work, or get AI to do it) 2. give me the shader code to add to CC source for everyone to use. You know the Pro version already has Bloom and Blur right ? CC blur works just fine IMO, but the Bloom could be better. I actually updated the DirectX bloom shader via AI only recently, as it claimed it was better now but I havent actually tested it. Bloom and blur dont actually need the depth buffer unless you want depth of field which I already added in. Its using a radial blur from memory but might actually look better with gaussian blur. |
||||
|
guest_Robbo wrote: Yes, the headline is appropriate for this topic. I was told by any online search and AI that obtaining the depth buffer in CopperCube was not possible due to the forward rendering of the engine limitations and thats why I sent so much time getting it to re-render a second pass every frame to get a working depth buffer at a significant performance cost. Yesterday after mucking around with Google Gemini it said that there is a hack that can be done to access the depth buffer without any second pass at all and not even affecting the performance. I didnt really beleive it but indulged its halucinations with its code adjustments into a new copy of the latest source code. It seemed to almost get there so used another AI to get passed the finish line and finally see the single pass depth in all its glory...crap....it friggin works !! Now I can have advanced post processing at no extra cost apart from its own code cost which is usually quite small. I just tested it with per pixel spotlight and its working perfectly and no real performance cost either....damn...it took me so much effort to get that 2nd pass to work and now its no longer needed....which is good news of course ! Get ready for some better advanced post processing I guess... That's great |
||||
|
thanks for anwser my question, I am little surprise that you dislike coppercube native bloom e like native blur, the bloom aparently is good, and the problem from blur is the minimum value is make blur to much intense. about effects to add you can give one look in the effects from this link, they are made to opengl 2.1 for blender game engine then you will need to port to directx9 hlsl, there are two bloom in this pack: https://www.youtube.com/watch?v=IdR3QEsCm5c this other video show the effects in these pack: https://www.youtube.com/watch?v=XFIjuCpSwLU I hope these pack help to improve coppercube graphics, unfortanely I will not use this improvement in near future because I use coppercube free version and this version don t have support to use binaries, but when I can have coppercube paid I will have a chance to improve my coppercube graphics with binaries, good lucky with improvements |
||||
|
|