dongju.jeong Posted August 17, 2021 Share Posted August 17, 2021 (edited) The settings for constellations are as shown in the picture. As shown in the video, changes in the day's environment occur due to the intensity of the constellation. Is this the right thing? The stronger the intensity, the darker the screen seems. Does the intensity value of StarFild control the color's alpha value? bandicam 2021-08-17 15-19-29-081.mp4 Edited August 17, 2021 by dongju.jeong Link to comment
cash-metall Posted August 17, 2021 Share Posted August 17, 2021 1 hour ago, dongju.jeong said: Does the intensity value of StarFild control the color's alpha value? Yes, you are right. it changed for each preset. for (int i = 0; i < 3; ++i) { auto preset = Render::getEnvironmentPreset(i); auto color = preset->getTextureColor(); color[3] = intensity; preset->setTextureColor(color); } Link to comment
Recommended Posts