New answers tagged lighting
0
votes
How to pick values of ambient, diffuse, specular for Phong Lighting?
From the manual:
style : (str) preset style, options are [metallic, plastic, shiny,
glossy, ambient, off]
ambient : (float) ...
0
votes
Accepted
With a light source at (0,2,0) and unit cube (from [-1,1]) using a given shading formula, how is the r,g,b for each surface calculated?
First of all, it is obvious that the normal vector of the upper surface is $(0,1,0)$. But you can calculate it in the following way:
Given three points on a surface that are not aligned, you can ...
Top 50 recent answers are included
Related Tags
lighting × 182rendering × 34
raytracing × 31
opengl × 24
global-illumination × 18
shader × 17
pathtracing × 17
physically-based × 17
shading × 16
shadow × 13
brdf × 12
glsl × 11
color × 10
pbr × 10
texture × 8
importance-sampling × 8
3d × 6
real-time × 6
volumetric × 6
radiosity × 6
c++ × 5
mathematics × 5
sampling × 5
specular × 5
diffuse × 5