Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Solar System in Processing - Part 4 (Light?)

$
0
0

Hi everyone,

I had recently viewed this video: Coding Challenge #9: Solar System in Processing - Part 3 (3D textures)

At 10:30s of this video, shiffman wants to create a effect like sunlight using pointLight at the position same as the sun sphere. The sun effect is done, but sun itself is darken. An there is no next video about Solar System in Processing which gives a solution. Can anybody help me how to create a sunlight effect?

Source code about this video: https://github.com/CodingTrain/website/tree/master/CodingChallenges/CC_09_SolarSystemGenerator3D_texture

pointLight inside the sun: solar system_01

pointLight inside the sun + ambientLight: (not perfect effect): solar system_02


Viewing all articles
Browse latest Browse all 2896

Trending Articles