Questions tagged [post-processing]

272 questions
3
votes
0 answers

Using post processing shaders on objects/groups in THREE.js

I'm trying to add some blur effects via post processing in a WebGL canvas with THREE.js. The thing is, I need this effects only on selected objects/groups, which contain multiple other things. For example: I have two rotating objects and want to add…
Mischa
  • 1,045
  • 2
  • 13
  • 23
3
votes
2 answers

three.js fade in/out post processing shaders

I want to fade the scene into grayscale, but this also applies to other post-processing effects I'd like to fade in or out. So for this example I'm using the THREE.ColorifyShader, but when activating it, the whole scene instantly receives the…
Artimus
  • 118
  • 6
3
votes
1 answer

Image Processing with Three.js With Effect Composer

Looking at the example here: http://threejs.org/examples/#webgl_postprocessing I'm curious if there is a way to perform this post-processing business on a copy of the original data set. In other words, I want to display the original rendering of my…
user985030
  • 1,357
  • 1
  • 15
  • 29
3
votes
0 answers

Android apply audio effect on all audio out

I am having one audio effect written in C, and i want to integrate my audio effect in android ICS BSP for custom board and effect needs to be applied globally if set once, regardless of audio playing application. Can anybody point me at which level…
JRC
  • 798
  • 1
  • 9
  • 26
3
votes
4 answers

Image blur effect in shaders

I want to do image effects such as screen blur in my game but I have a problem that it just darkens the screen slightly. Here is the class for the FBO GLuint m_fbo; GLuint m_fboTexture; GLuint m_fboDepthBuffer; void FBO::Initialize(float width,…
Jose
  • 127
  • 1
  • 14
2
votes
0 answers

Django - processing objects after .filter(...) or .all(...)

Still learning Django, so not sure if there's a nice way to do this. I have a few models with specific attributes (all use Item as base class), and a metadata table (id, language, type, value) used to store any extra attributes that could be…
btk
  • 2,906
  • 2
  • 27
  • 26
2
votes
0 answers

Converting any struct to json automatic in C++

I am willing to convert any struct to json automatic without repeating code or variables in C++. Desired result: typedef JsonStruct Person; // not have to be template... Person person; person.name = "Jacob"; person.age =…
jacob galam
  • 579
  • 2
  • 15
2
votes
1 answer

How can I get Unity to automatically add the Sign In With Apple capability when compiling for iOS?

I have been Googling for hours and trying every variation of this code that I can think of but I haven't been able to get the Sign In With Apple capability to be added automatically. I have tried examples from this Github…
Phedg1
  • 1,506
  • 3
  • 11
  • 28
2
votes
0 answers

How to write a 3D image from a 3x3 matrix written in fortran 90?

I'm trying to write a 3D image in fortran 90. The code for the object I want in the image: Here is a code of a cube in fortran: PROGRAM myimage integer xmax,ymax,zmax parameter (xmax=10,ymax=10,zmax=10) INTEGER…
JoA
  • 53
  • 5
2
votes
0 answers

Post Processing with three.js and expo on React Native

Is there a way to get post-processing effects to work with expo-three? I can get normal code without post-processing to work without trouble, but as soon as I add effects, they seem to do nothing. I've tested the similar code for web and it works…
Funk Soul Ninja
  • 1,591
  • 2
  • 15
  • 25
2
votes
0 answers

Screen Space Reflections Artifacts

When I implemented SSR I encountered the problem of artifacts. Below I present the code and screenshots. Fragment SSR shader: #version 330 core uniform sampler2D normalMap; // in view space uniform sampler2D colorMap; uniform sampler2D…
congard
  • 779
  • 1
  • 8
  • 21
2
votes
1 answer

Setting up a UI slider to control post processing effects?

As the title says, I'm trying to set up a UI slider so the player can adjust some of the post processing settings (specifically the exposure and temperature) while the game is running. To bring you up to speed: I'm using version one of the post…
k_holla
  • 35
  • 6
2
votes
1 answer

Remove connected components below a threshold in a 3-d array

I am working on 3-D numpy array in python and want to do post-processing on CNN output of Brain Tumor Segmentation images. We get a 3-D (208x208x155) numpy array with values as 0/1/2/4 for each pixel. I want to remove the connected components with a…
Himanshu
  • 23
  • 3
2
votes
1 answer

Scripting Unity post-processing stack

I'm trying to imitate a lightning effect in Unity using its post-processing stack's bloom effect via script (to modify the intensity), but somehow I'm unable to actually set anything via script. PostProcessingProfile…
agiro
  • 1,808
  • 1
  • 22
  • 49
2
votes
1 answer

Spring post processors, order, @Required

At work we have a custom ServiceProvider pattern with an annotation for binding services with a spring post-processor. I wonder if i can check if my binding was correctly done, by using @Required. The binding is not done by Spring (neither xml or…
Sebastien Lorber
  • 79,294
  • 59
  • 260
  • 386
1 2
3
18 19