Jump to content

starField effect


photo

Recommended Posts

 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?

image.png.1dc01e817de26ffbb9a4d1279b1bdd92.png

 

Edited by dongju.jeong
Link to comment
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
×
×
  • Create New...