Questions tagged [reflection-rendering]
Reflection rendering refers to techniques used to visually represent surface reflections of scene objects and their environments, whether crisp and mirror-like or distorted & blurred. Questions about reflecting vectors or collision bounces should use the Geometry or Physics tags instead.
57 questions
0
votes
0
answers
40
views
Can we use geometry shader to allow or not the drawing based on a stencil value?
I have a forward reflexion protocol producing a reflexion map used for final scene rendering. I can have several heights of ground we can defined as "mirrors". In order to have only one map ...
0
votes
1
answer
77
views
Problem when changing matrix view in screen space reflexion
I’m using (DX11) LookAtLH or LookTo functions to get my view matrix. When setting Camera Direction so that the y component is zero I have the correct reflexion (picture left). When changing the Dir.y ...
0
votes
1
answer
159
views
How to have point of view independent Screen Space Reflection deepness
With regular raymarching algorithm we can fade the reflected pixel based on the number of iterations used when looping.
I can’t use an iteration number when doing both hierarchical z (HiZ) and ...
-1
votes
1
answer
305
views
Is diffuse reflection definition failed when we see both reflection(diffuse,specular) is happening on one single object?
Let us consider the situation where only we moved the camera.
The object and the light source remain in the same place. Thus the angle of the incident light is the same for every point.I have captured ...
0
votes
1
answer
1k
views
How do I calculate a matrix to render a mirror about a plane using GLM?
I've been trying to work out how to render a mirror for a while now, but a lot of resources I find either use very outdated tools I'm not familiar with, appear to be college slides referencing other ...
0
votes
1
answer
199
views
Stretching a tetragonal shape in a texture to a square object
I'd like to write a fragment shader that stretches a tetragonal shape in a texture to a square shaped game object of mine. My problem is best described with a picture, seen below. The shader receives ...
0
votes
3
answers
420
views
How does real-time raytracing draw reflections of off-screen geometry?
I know what raytracing is, but I'm a bit curious how games are able to reflect off-screen geometry using raytracing in real-time.
I tried looking up the technical details but most of the articles are ...
0
votes
2
answers
2k
views
Difference between reflection mapping and raytracing
Both methods involve casting a ray unto the reflecting object. It will be reflected. In reflection mapping - the intersection of this reflected ray with the environment map (texture) will yield the ...
0
votes
1
answer
355
views
How do I calculate where which pixel it's reflecting based on a height map?
I saw this How can I Compute steepness for heightmap while looking for a way to reflect pixels.
But now that I have the steepness/slope I don't know how to calculate which angle it's pointing at.
...
1
vote
1
answer
2k
views
Screen Space reflections not tracing correctly - GLSL
I've been trying to implement screen space reflections for the past couple of days, however it's been difficult finding specific implementation instructions or guides.
Most of the hits on the subject ...
2
votes
1
answer
495
views
Unity reflections going white with camera movement
Please refer to this video to understand the issue I am facing.
With camera movement, there is a strong white reflection that appears over the complete model. What settings do I need to change to fix ...
1
vote
0
answers
419
views
Unity Mirror can't reflect another mirror across from it
I created a mirror in Unity using the FX/MirrorReflection and the script that comes with it.
http://wiki.unity3d.com/index.php/MirrorReflection4
One mirror at a time works perfectly fine, but as soon ...
10
votes
1
answer
740
views
Environment mapping without cubemap (need coordinates projection)
I'm working on a project with C++ and glsl (4.1).
I have implemented a mirror object which is a plane at height 0 that works as follow:
I render the scene with a MVP computed such that the camera ...
5
votes
1
answer
456
views
Reflection areas on texture
I have a wheel model. It's use Reflected Diffuse shader and only one texture and only one material. So it should seen like that, right?
But it's seen like that:
I'm really curious about that. What is ...
7
votes
1
answer
2k
views
How to render water reflections on multiple heights
I'm making a voxel game on OpenGL, and are trying to find a way to render semi-realistic water (At least partially good looking, it doesn't need to be strictly scientific accurate).
All sources ...
1
vote
0
answers
2k
views
Unity 5 light reflection on the water surface
How to adjust reflection in Unity 5 to show up it on the water surface. So I have few light elements in the scene. So I want my water pro to reflect this lights.
As example you can see red and yellow ...
4
votes
1
answer
2k
views
How can I enable flat surface reflections in UE4 on mobile?
Could someone please tell me how do I enable reflections on flat surfaces on a mobile in UE4? I have a simple room with one directional light. I need reflections on the tables and ground planes. I ...
0
votes
1
answer
1k
views
Reflection/environment mapping
I'm implementing reflection/environment mapping using a cubemap. I have it working for the most part but when I move my camera around, I see the same area reflected on the object. I am calculating the ...
11
votes
1
answer
10k
views
How to implement this kind of ripples with a GLSL fragment shader?
So I have already implemented the reflection part:
...
4
votes
3
answers
3k
views
How do reflections work for large flat surfaces?
I understand how reflections work for objects. A cubemap would be rendered around a certain point in 3D space, usually at the center of the object that the reflection is to be applied to, and that is ...
2
votes
1
answer
4k
views
Reflection and shadows in OpenGL
I'd like to implement shadows and reflective surfaces in my OpenGL app.
I already have ideas which I will provide below. But I would like to ask someone more experienced than me before I put too much ...
2
votes
1
answer
672
views
Correcting Lighting in Stencil Reflections
I'm just playing around with OpenGL seeing how different methods of making shadows and reflections work.
I've been following this tutorial which describes using ...
6
votes
1
answer
2k
views
How can I implement real-time mutual object reflection?
So, given a scene like this (cubemap skybox with "real" spheres)
Everything looks great, except for the fact that the spheres don't reflect each other.
What's a good way to go about this? The first ...
13
votes
1
answer
823
views
Accounting for waves when doing planar reflections
I've been studying Nvidia's examples from the SDK, in particular the Island11 project and I've found something curious about a piece of HLSL code which corrects the reflections up and down depending ...
2
votes
1
answer
621
views
3D Reflection - Drawing Upside Down
After reading up on rendering reflections, it seems that the way to do it is the render the scene from underneath the plane of reflection, and then use projective texturing to map the reflected ...