Talk:Env sun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
:If you want a proper moon, as in one that does not change translucency/ size, you won't have much luck with this entity, because it will always use pixel visibility queries to transform the sprites (unless those are unavailable because of old hardware...) --[[User:Biohazard 90|Biohazard]] 13:14, 22 February 2011 (UTC).
:If you want a proper moon, as in one that does not change translucency/ size, you won't have much luck with this entity, because it will always use pixel visibility queries to transform the sprites (unless those are unavailable because of old hardware...) --[[User:Biohazard 90|Biohazard]] 13:14, 22 February 2011 (UTC).
::Best option would be to create your own sun-like entity for use as a moon. Failing that, you can just add a moon to your skybox texture.--[[User:OneQuarterLife|1/4 Life]] 23:33, 22 February 2011 (UTC)
::Best option would be to create your own sun-like entity for use as a moon. Failing that, you can just add a moon to your skybox texture.--[[User:OneQuarterLife|1/4 Life]] 23:33, 22 February 2011 (UTC)
:::That's actually more easily done than you might think, 1/4 Life: Half-Life 2's night maps are rotated 90 degrees, so just switching them around will place the moon above, shining through thick clouds. --[[User:MossyBucket|MossyBucket (formerly Andreasen)]] 03:02, 23 February 2011 (UTC)

Revision as of 20:02, 22 February 2011

Colors

"Additive light is additive, yellow and blue (really its cyan) only make green subtractively (as with paper)" Technically, yes. However, my test with a pure yellow sun (255r 255g 0b) yielded a sun that's yellow at the center and mostly greenish for the rest of its effect. I thought that made an interesting insight into how the additive effect actually behaves, as opposed to what would seem logical. --Demented 20:16, 14 Nov 2005 (PST)

I DIDNT WRITE THAT ! lol—ts2do (Talk | @) 20:32, 14 Nov 2005 (PST)


Moon

At night, can this entity really double as a moon? It doesn't look too good - too shiny - but it's hard to find a sprite which doesn't flicker or worse. Have you found any settings that work? --MossyBucket (formerly Andreasen) 12:54, 22 February 2011 (UTC)

If you want a proper moon, as in one that does not change translucency/ size, you won't have much luck with this entity, because it will always use pixel visibility queries to transform the sprites (unless those are unavailable because of old hardware...) --Biohazard 13:14, 22 February 2011 (UTC).
Best option would be to create your own sun-like entity for use as a moon. Failing that, you can just add a moon to your skybox texture.--1/4 Life 23:33, 22 February 2011 (UTC)
That's actually more easily done than you might think, 1/4 Life: Half-Life 2's night maps are rotated 90 degrees, so just switching them around will place the moon above, shining through thick clouds. --MossyBucket (formerly Andreasen) 03:02, 23 February 2011 (UTC)