Questions tagged [post-processing]

The use of pixel-shaders to apply filters to a scene to produce various effects.

Filter by
Sorted by
Tagged with
14
votes
1answer
3k views

How to implement fake 3D like distortion effects for a 2D side scrolling game?

I'm not certain of the proper terms to search on or even where to begin though I imagine it is some sort of post processing effect. I've seen games like I Wanna Be The Boshy and You Have To Win the ...
12
votes
2answers
4k views

Rorschach ink blot (aka Psychology test pictures) shader

(source: bonnefil.com) I want this magnificent pattern to be in my game. So far I have figured out... Draw one side, then render it twice left and right. How do I render this pattern on one side? ...
9
votes
1answer
2k views

Tone mapping and eye adaptation - pale colors and darker image

I'm trying to implement tone mapping along with eye adaptation and HDR. Actually I implemented this already but I'm not satisfied with result and I think that I made something wrong. My final image (...
7
votes
3answers
2k views

What Shading/Rendering techniques are being used in this image?

My previous question wasn't clear enough. From a rendering point of view what kind of techniques are used in this image as I would like to apply a similar style (I'm using OpenGL if that matters): ...
7
votes
1answer
855 views

How do I counteract FXAA blur?

FXAA is a cheap post processing anti-aliasing method which works great with deferred pipelines where traditional MSAA may not be a viable option. It's also easier to implement than alternatives such ...
7
votes
1answer
2k views

Depth Peeling implementation problem: How to render the next layer? (OpenGL)

I try to implement order-independet transparency sticking to the pseudo code in the linked paper (page 4). I can't figure out how they are able to do this in OpenGL. I am rendering the scene two ...
7
votes
2answers
1k views

How many rendering passes is “normal”?

I've been implementing John Chapman's method for SSAO (an excellent tutorial by the way), and I've completed it all minus the final part: blurring it. I believe this is what the entire process should ...
7
votes
1answer
2k views

XNA 4.0 Post-Processing Libraries? [closed]

Are there any free XNA 4.0 post-processing libraries that are easy to hook into projects? I am looking specifically for a glow effect (although anything is great), and I should also mention that I'm ...
5
votes
3answers
6k views

How can I make a shader effect that looks like a lightly shaded pencil drawing?

I want to make a shader effect using OpenGL ES 2.0 that looks like this image: I'm not sure if this image was painted or is the result of some filter, but I want to create a shader that produces ...
5
votes
1answer
2k views

How to create heat haze effect in Libgdx?

I would like to create a heat haze effect for a 2D game I am making. Do You have ideas or suggestions, how to get that effect. I am using Libgdx(OpenGL 2.0). Thank You in advance!
5
votes
1answer
251 views

A motion blur technique which can cover curve movement path?

I am looking for a motion blur technique for real-time games. I know two techniques, velocity map and accumulation buffer. Velocity map shows very good quality, but doesn't work correctly if objects ...
4
votes
1answer
1k views

Shader effect similar to Metro 2033 gasmask

I was thinking about effects in games the other day and I was reminded of the Gasmask effect from Metro 2033. Once you put the gasmask on it blurred a bit in the corners and could ice up and even get ...
4
votes
2answers
224 views

When to apply AA as post?

I'm working with a deferred shading technique. I have diffuse, normal and depth buffers, which I combine for the final scene composition. Where and when exactly do I apply an anti-aliasing pass (such ...
4
votes
2answers
2k views

Discoordinated Chromatic Aberration Effect

The game Teleglitch heavily utilizes the CA effect with screen distortion. I am trying to achieve this effect. Issue 1. How to not apply the effect onto the floor? (solved) They render the screen ...
4
votes
1answer
434 views

Can an existing game be optimised by converting it to use cel-shading?

I assume it's possible to cel-shade existing games through API interception. If done properly, could this be used as a rendering optimization technique? This means rather than doing the cel-shading ...
4
votes
1answer
977 views

Full-screen post-processing and texture size

I am newbie writing a post-processing code for mobile devices, and asking some trivial, conventional solution for a specific problem. AFAIK, post-processing in OpenGL is trivially done with FBO bound ...
4
votes
1answer
964 views

How to reduce color space in a post-processing material in Unreal Engine 4

I'm trying to get an old-school Quake 1 look going in UE4. I am currently using this blueprint in order to get a retro style large pixel filter. In game (might need to zoom in to see the difference)...
4
votes
1answer
692 views

How to properly render a Frame Buffer to the BackBuffer in Stage3D / AGAL

After doing a render pass with RenderToTarget (RTT), how do you properly render that texture buffer to the screen while maintaining original scale / proportions so it doesn't stretch or lose quality? ...
4
votes
2answers
334 views

2.5D platformer how to darken building edges?

I was wondering how I could go about creating a vignette type effect / some sort of volumetric shadow for the 'cross section' parts of a 2.5D level. The effect I'm going for can be seen in 'This war ...
3
votes
1answer
5k views

Pixelation shader explanation?

I was looking for a pixelation shader for my postprocessing and came across this shader snippet - Works pretty well! - Not a whole lot of explanations on how it works except for "Pixelation is process ...
3
votes
2answers
3k views

Fast fullscreen quad rendering in Direct3D 11?

For the last few weeks, I've been trying to port a DX9 implementation of HDR rendering (tone mapping, bloom, stars, etc.) over to DX11. I believe I've got all features working but I'm not getting good ...
3
votes
1answer
144 views

No AA support in Godot 3.1?

I'm using Godot 3.1.1 and just realized that there is no available AA options. According to some post, Godot 2 supports FXAA, but some reason it's took out from 3. So I try to get FXAA for Godot 3.1, ...
3
votes
1answer
1k views

Deferred rendering and gaussian blur - artifacts

I compute Gaussian blur in two passes (horizontally and vertically). Shaders look like this: Horizontal blur - fragment shader: ...
3
votes
1answer
602 views

Multiple volumetric lights

I recently read this GPU GEMS 3 article Volumetric Light Scattering as a Post-Process. I like the idea to add volumetric light property to realtime render i'm working on. Question is will it work for ...
3
votes
0answers
99 views

How can I make a tendril flame like aura visual effect?

I am a bit new to UE4 and I'm trying to get a tendril flame like aura like the picture below. Does anyone know how I would go about this? Should I use post processing or particles?
3
votes
0answers
1k views

HDR bloom techniques using post processing in Unity3D

I've seen many posts on how to accomplish HDR bloom effects in Unity3D using its (now legacy) Bloom component as part of the standard assets package. I'm trying to replicate it using the new post ...
2
votes
1answer
711 views

How can I get post-processing effects with pygame?

I'd like to be able to make the screen like blurry and wavy, like when a player enters a portal in Minecraft. How would I make this with pygame?
2
votes
1answer
914 views

How can I create a screen-space distortion effect?

I am trying to create a screen-space distortion effect using shaders. This image demonstrating the effect I'm after is from Nvidia: Let's consider that I have access to the background texture. How ...
2
votes
1answer
2k views

Workaround for reading and writing same texture?

To apply post effects, it is often needed to read the preliminary image, perform computations on its pixels and store the result in the same texture again. For example, think of a tone mapping or ...
2
votes
1answer
3k views

Blur shader without render textures?

Is it possible to append a blur shader to a standard (diffuse) shader ? I am looking for a way to do this as Unity indie doesn't allow render textures.
2
votes
1answer
657 views

Would I perform one pass per effect in Deferred Shading?

I'm implementing deferred shading the first time. Doing so I came up with a conceptual question. First I render the geometry in a framebuffer with muptiple rendering targets for depth, normals, and ...
2
votes
0answers
214 views

Improve bloom quality

I'm trying to understang how can I improve bloom effect quality using all known to me optimizations. Currently I'm making it as follows: Create new texture using some threshold to extracts areas ...
2
votes
0answers
66 views

postprocessing shader destroying viewport on linux?

Basically I implemented gamma correction into a q3 based game to get rid of the annoying SetDeviceGammaRamp. On windows and macosx everything works fine, but on linux it draws garbage. It looks like ...
1
vote
1answer
52 views

Downscaling texture via mipmap [closed]

Copied from Computer Graphics SE. I am implementing a post-processing effect in my DirectX 11 pet renderer. The post-processing pass is implemented by rendering a full-screen quad covered with ...
1
vote
1answer
3k views

Unity - blur on one camera effects the other as well

I'm trying to fake a DOF effect for Sprites by using 2 cameras, one for the sharp objects, one for the blurred ones. I have set up the layers like Blur and Sharp accordingly. So I have these 2 ...
1
vote
1answer
22 views

Unity is Creating Black Boxes when I look around

Please help me with this issue. I believe it came about after I finished tweaking post processing behavior in a minor way. If anyone has any idea please share it. I tried to rebake lighting on both ...
1
vote
1answer
1k views

Global PostProcess in UnrealEngine 4.10.2

I am new to UnrealEngine and following few tutorials to get started with. I am trying to find "Global PostProcess" (in World Outliner) in UnrealEngine 4.10, but I am not able to find it. Has it been ...
1
vote
1answer
159 views

What's wrong with my method of getting intermediate rendering to my postprocessing shader?

I'm working on a project in OpenGL. Earlier this week, I successfully implemented Deferred Shading, but I'm not sure how to pass the information from the Deferred Shader to the Post Processing Shader. ...
1
vote
1answer
3k views

How to use FrameBuffer objects (OpenGL)

I want to draw a 2D scene and after the scene i want to draw some light effects. When i draw some light, i create a FBO, draw in it and when finished with drawing, i want to create a texture where i ...
1
vote
1answer
6k views

HLSL grayscale pixel shader: How to get the original colors of the model?

The following code gives me a completely black colored model, while it should be a model shaded in greyscale: ...
1
vote
0answers
973 views

Using Unity Post Processing v2, how can I apply processing effects to just the UI?

I am using Unity 2018.3 with HDRP 4.9, and Post Processing 2.1.3. I would like to apply post processing effects (i.e bloom) to the UI only. I tried the 2 camera approach, but still can't get it ...
1
vote
1answer
336 views

Noise when using SSLR (Screen Space Local Reflections)

When I tried to apply reflections to my scene, I ran into the problem of noise: My fragment shader code: ...
1
vote
1answer
67 views

Unity : Post Processing without playing

I have attached a post processing profile to my main camera for bloom and other similar effects. I know that when the game is running, the post processing works as I can see its effects. However, is ...
1
vote
1answer
189 views

New Unity Post Processing - Default Project '3d With Extras' - What effect is causing this transparency in distant objects?

I've recently seen in Unity you can start a new project with Extras included. Which is basically some post processing to make it look nicer as standard, as well as some assets/materials etc to get you ...
1
vote
1answer
2k views

Unity - blur only selected layers [duplicate]

I'm messing around with Unity 2017's post processing tools while making a 2D game that benefits from the parallaxing effect using a perspective camera. Please note that the game is mostly made using ...
1
vote
1answer
442 views

Replicating a worldspace sphere on screen space

I have quite some struggle with a post processing shader that I'm working on. I use Unity, and I have a shader in which I want to, in screen space as part of post processing, render a sphere that ...
1
vote
1answer
59 views

2 Images, same object: tone difference and alignment

I would like to know a software which helps in post-production to calculate the general color/tone difference of 2 images. The images contain the same object, but arn't shot from the same position. ...
1
vote
1answer
2k views

Writing to multiple RenderTarget2D's from HLSL shader

I need to write to two render targets: one for colour and another for depth+normal (for post-processing). I have a problem, though. Both targets seem to be getting the value output by COLOR0, while ...
0
votes
1answer
467 views

HLSL postprocessing for day to night (DTN)

I am trying to implement a "day-to-night"-filter (as commonly used in cinema) for a 2D game (XNA) by using a full screen HLSL pixel shader. The aim is to transform any bright and colorful image into a ...
0
votes
1answer
5k views

HLSL Gaussian blur pixelshader: blur is not occurring

I am trying to use postprocessing to create a gaussian blur, however, no blur is to be seen, what am I doing wrong? I have included the full code at the bottom of this post in a google docs link, but ...