Chrome settings
-
Topic authorTourqeGlare
- Posts: 100
- Joined: 07.05.2005
- With us: 19 years 6 months
- Location: Wherever Vger went
Chrome settings
Can anyone create a patch or something that gives Celestia reflective serfaces? A chrome planet with clouds would be cool!
-
Topic authorTourqeGlare
- Posts: 100
- Joined: 07.05.2005
- With us: 19 years 6 months
- Location: Wherever Vger went
-
Topic authorTourqeGlare
- Posts: 100
- Joined: 07.05.2005
- With us: 19 years 6 months
- Location: Wherever Vger went
When a surface is shiny, it is said to have "specular reflections" -- that means "mirrorlike reflections". Celestia can sort of simulate that if you use these declarations in an SSC file:
Use your image as the SpecularTexture. White areas are considered reflective. Black are not.
Celestia won't actually draw reflections, but it'll draw a highlight of the specified SpecularColor (3 numeric values: 1 each for red, green and blue) to simulate the sun glinting off the surface with its brightness proportional to the SpecularPower.
This is done for the Earth's oceans in solarsys.ssc, where it's using the Alpha channel of earth.png as the specular texture. You can use your texture to reverse that.
Code: Select all
SpecularTexture "[i]imagefilename[/i]"
SpecularColor [ [i]color[/i] ]
SpecularPower [i]number[/i]
Use your image as the SpecularTexture. White areas are considered reflective. Black are not.
Celestia won't actually draw reflections, but it'll draw a highlight of the specified SpecularColor (3 numeric values: 1 each for red, green and blue) to simulate the sun glinting off the surface with its brightness proportional to the SpecularPower.
This is done for the Earth's oceans in solarsys.ssc, where it's using the Alpha channel of earth.png as the specular texture. You can use your texture to reverse that.
Selden