Questions tagged [lighting]
The lighting tag has no summary.
192 questions
1 vote
0 answers
74 views
Why does my PBR IBL lighting look incorrect?
I followed learnopengl.com IBL tutorial but implemented in on DirectX11, so every shader was converted from GLSL to HLSL. As a result, I have artifacts with some HDRI images and also as I use bloom ...
4 votes
1 answer
119 views
Why in earlier shading models based on Lambert's law $|\cos \theta|$ is used instead of $\max(0, \cos\theta)$?
Earlier papers on shading algorithms describe the basic shading model as variations of $$ s = |\cos\theta| $$ See for example "A hidden surface algorithm for computer generated halftone pictures&...
0 votes
1 answer
121 views
I am rendering the scene four times for four pointlights. Is there any more efficient technique?
I used to render only when changing the positions of the lights and FPS was acceptable, but it turned out that I needed dynamic shadows for animated characters. FPS now does not rise above 58 frames ...
1 vote
0 answers
117 views
How to importance sample emissive textures on meshes?
I have a mesh in my scene. That mesh has an emissive texture mapped on it. For my direct lighting integration, I'll need to sample that mesh. I could sample it uniformly and read the emissive texture ...
1 vote
1 answer
274 views
Why is the indirect illumination (using IBL) in my PBR shader overpowering everything?
I'm trying to implement a basic form of physically based rendering (PBR) and I am using the PBR tutorial from learnopengl dot com as a reference. The PBR I am implementing consists of two parts, ...
3 votes
0 answers
423 views
Spherical Harmonics for view-dependent effects in research of learned radiance fields (NeRF, 3D Gaussian Splatting)
In research on making the rendering of learned radiance fields (e.g., neural radiance fields) faster, many approaches use Spherical Harmonics (SH) to approximate view-dependent color (e.g. baking SH ...
1 vote
0 answers
92 views
What is this cardioid/fish-like graphic that appears in FFXVI when looking at the sun?
In Final Fantasy 16, a recent video game, when looking towards the setting sun, one sees several circles, which seem like the lens flare that one commonly sees in games. But the most prominent (circle)...
1 vote
0 answers
69 views
BlinnPhong sphere edges look worse than Phong. Am I doing it wrong? (code and pictures included)
First of all, I am completely new to this so please excuse me if this is a dumb question. I am following the book Real-Time 3D Rendering with DirectX and HLSL, for now implementing shaders in Nvidia ...