├── .gitignore ├── README.md ├── addon_config.mk ├── data └── shaders │ └── deferred │ ├── alphaFrag.frag │ ├── ao │ ├── applyAo.frag │ └── calcAo.frag │ ├── bloom.frag │ ├── blur │ ├── blur.frag │ └── shrink.frag │ ├── bokeh │ ├── bokehCalc.glsl │ ├── bokehRender.frag │ ├── bokehRender.vert │ ├── bokehShaping.frag │ └── bokehSync.glsl │ ├── customShader.frag │ ├── dof │ ├── applyDof.frag │ ├── calcNearCoc.frag │ ├── downSample.frag │ └── smallBlur.frag │ ├── edge.frag │ ├── fog.frag │ ├── fxaa.frag │ ├── gbuffer.frag │ ├── gbuffer.vert │ ├── libs │ ├── noise3d.frag │ └── random.frag │ ├── lumaThres.frag │ ├── material │ ├── emissive.frag │ └── emissive.vert │ ├── passThru.vert │ ├── pointLight.frag │ └── shadow │ ├── LinearDetph.frag │ └── ShadowLight.frag ├── example ├── addons.make ├── bin │ └── data │ │ └── settings.xml ├── config.make ├── icon.aps └── src │ ├── GenArchitect.hpp │ ├── GenCells.hpp │ ├── main.cpp │ ├── ofApp.cpp │ └── ofApp.h ├── screenshot.gif └── src ├── AtomicCounterBuffer.h ├── DeferredProcessor.cpp ├── DeferredProcessor.hpp ├── GBuffer.cpp ├── GBuffer.hpp ├── PingPongBuffer.h ├── RenderPass.cpp ├── RenderPass.hpp ├── ofxDeferredShading.h └── pass ├── BgPass.hpp ├── BloomPass.cpp ├── BloomPass.hpp ├── BlurPass.cpp ├── BlurPass.h ├── DofPass.cpp ├── DofPass.hpp ├── EdgePass.cpp ├── EdgePass.hpp ├── FogPass.h ├── FxaaPass.h ├── PointLightPass.cpp ├── PointLightPass.hpp ├── ShadowLightPass.cpp ├── ShadowLightPass.hpp ├── SsaoPass.cpp └── SsaoPass.hpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/README.md -------------------------------------------------------------------------------- /addon_config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/addon_config.mk -------------------------------------------------------------------------------- /data/shaders/deferred/alphaFrag.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/alphaFrag.frag -------------------------------------------------------------------------------- /data/shaders/deferred/ao/applyAo.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/ao/applyAo.frag -------------------------------------------------------------------------------- /data/shaders/deferred/ao/calcAo.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/ao/calcAo.frag -------------------------------------------------------------------------------- /data/shaders/deferred/bloom.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/bloom.frag -------------------------------------------------------------------------------- /data/shaders/deferred/blur/blur.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/blur/blur.frag -------------------------------------------------------------------------------- /data/shaders/deferred/blur/shrink.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/blur/shrink.frag -------------------------------------------------------------------------------- /data/shaders/deferred/bokeh/bokehCalc.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/bokeh/bokehCalc.glsl -------------------------------------------------------------------------------- /data/shaders/deferred/bokeh/bokehRender.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/bokeh/bokehRender.frag -------------------------------------------------------------------------------- /data/shaders/deferred/bokeh/bokehRender.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/bokeh/bokehRender.vert -------------------------------------------------------------------------------- /data/shaders/deferred/bokeh/bokehShaping.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/bokeh/bokehShaping.frag -------------------------------------------------------------------------------- /data/shaders/deferred/bokeh/bokehSync.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/bokeh/bokehSync.glsl -------------------------------------------------------------------------------- /data/shaders/deferred/customShader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/customShader.frag -------------------------------------------------------------------------------- /data/shaders/deferred/dof/applyDof.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/dof/applyDof.frag -------------------------------------------------------------------------------- /data/shaders/deferred/dof/calcNearCoc.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/dof/calcNearCoc.frag -------------------------------------------------------------------------------- /data/shaders/deferred/dof/downSample.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/dof/downSample.frag -------------------------------------------------------------------------------- /data/shaders/deferred/dof/smallBlur.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/dof/smallBlur.frag -------------------------------------------------------------------------------- /data/shaders/deferred/edge.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/edge.frag -------------------------------------------------------------------------------- /data/shaders/deferred/fog.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/fog.frag -------------------------------------------------------------------------------- /data/shaders/deferred/fxaa.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/fxaa.frag -------------------------------------------------------------------------------- /data/shaders/deferred/gbuffer.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/gbuffer.frag -------------------------------------------------------------------------------- /data/shaders/deferred/gbuffer.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/gbuffer.vert -------------------------------------------------------------------------------- /data/shaders/deferred/libs/noise3d.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/libs/noise3d.frag -------------------------------------------------------------------------------- /data/shaders/deferred/libs/random.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/libs/random.frag -------------------------------------------------------------------------------- /data/shaders/deferred/lumaThres.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/lumaThres.frag -------------------------------------------------------------------------------- /data/shaders/deferred/material/emissive.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/material/emissive.frag -------------------------------------------------------------------------------- /data/shaders/deferred/material/emissive.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/material/emissive.vert -------------------------------------------------------------------------------- /data/shaders/deferred/passThru.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/passThru.vert -------------------------------------------------------------------------------- /data/shaders/deferred/pointLight.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/pointLight.frag -------------------------------------------------------------------------------- /data/shaders/deferred/shadow/LinearDetph.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/shadow/LinearDetph.frag -------------------------------------------------------------------------------- /data/shaders/deferred/shadow/ShadowLight.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/data/shaders/deferred/shadow/ShadowLight.frag -------------------------------------------------------------------------------- /example/addons.make: -------------------------------------------------------------------------------- 1 | ofxDeferredShading 2 | ofxGui 3 | -------------------------------------------------------------------------------- /example/bin/data/settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/bin/data/settings.xml -------------------------------------------------------------------------------- /example/config.make: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/icon.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/icon.aps -------------------------------------------------------------------------------- /example/src/GenArchitect.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/src/GenArchitect.hpp -------------------------------------------------------------------------------- /example/src/GenCells.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/src/GenCells.hpp -------------------------------------------------------------------------------- /example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/src/main.cpp -------------------------------------------------------------------------------- /example/src/ofApp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/src/ofApp.cpp -------------------------------------------------------------------------------- /example/src/ofApp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/example/src/ofApp.h -------------------------------------------------------------------------------- /screenshot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/screenshot.gif -------------------------------------------------------------------------------- /src/AtomicCounterBuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/AtomicCounterBuffer.h -------------------------------------------------------------------------------- /src/DeferredProcessor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/DeferredProcessor.cpp -------------------------------------------------------------------------------- /src/DeferredProcessor.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/DeferredProcessor.hpp -------------------------------------------------------------------------------- /src/GBuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/GBuffer.cpp -------------------------------------------------------------------------------- /src/GBuffer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/GBuffer.hpp -------------------------------------------------------------------------------- /src/PingPongBuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/PingPongBuffer.h -------------------------------------------------------------------------------- /src/RenderPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/RenderPass.cpp -------------------------------------------------------------------------------- /src/RenderPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/RenderPass.hpp -------------------------------------------------------------------------------- /src/ofxDeferredShading.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/ofxDeferredShading.h -------------------------------------------------------------------------------- /src/pass/BgPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/BgPass.hpp -------------------------------------------------------------------------------- /src/pass/BloomPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/BloomPass.cpp -------------------------------------------------------------------------------- /src/pass/BloomPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/BloomPass.hpp -------------------------------------------------------------------------------- /src/pass/BlurPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/BlurPass.cpp -------------------------------------------------------------------------------- /src/pass/BlurPass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/BlurPass.h -------------------------------------------------------------------------------- /src/pass/DofPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/DofPass.cpp -------------------------------------------------------------------------------- /src/pass/DofPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/DofPass.hpp -------------------------------------------------------------------------------- /src/pass/EdgePass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/EdgePass.cpp -------------------------------------------------------------------------------- /src/pass/EdgePass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/EdgePass.hpp -------------------------------------------------------------------------------- /src/pass/FogPass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/FogPass.h -------------------------------------------------------------------------------- /src/pass/FxaaPass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/FxaaPass.h -------------------------------------------------------------------------------- /src/pass/PointLightPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/PointLightPass.cpp -------------------------------------------------------------------------------- /src/pass/PointLightPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/PointLightPass.hpp -------------------------------------------------------------------------------- /src/pass/ShadowLightPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/ShadowLightPass.cpp -------------------------------------------------------------------------------- /src/pass/ShadowLightPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/ShadowLightPass.hpp -------------------------------------------------------------------------------- /src/pass/SsaoPass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/SsaoPass.cpp -------------------------------------------------------------------------------- /src/pass/SsaoPass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nama-gatsuo/ofxDeferredShading/HEAD/src/pass/SsaoPass.hpp --------------------------------------------------------------------------------