« first day (4353 days earlier)      last day (657 days later) » 

12:03 AM
Sometimes I see questions I'd like to tackle, but I don't have enough free time...
 
 
1 hour later…
1:12 AM
Yeaaaah... 😅 Oh well, I really hogged the questions for a while, so it's good to let other folks have turns!
 
1:43 AM
Haha yeah, writing great answers takes a lot of time.
 
 
13 hours later…
2:38 PM
0
Q: How can I adjust this shader so that my atmospheric scattering works on spheres not positioned at the origin?

NeomerArcanaI have the following vertex and fragment shaders, adapted from this shader on shadertoy. Vertex: #version 330 layout (location = 0) in vec4 in_position; layout (location = 1) in vec3 in_normal; layout (location = 2) in vec3 in_UV; uniform mat4 projection; uniform mat4 view; uniform mat4 model; ...

 

« first day (4353 days earlier)      last day (657 days later) »