Basic HLSL Lighting Techniques - Episode 8
Uploader Comments (NemoKradXNA)
All Comments (25)
-
dude... that looks great!!
all the fine details like lit cities and moving atmosphere!
one thing you could add to make look even better: auroras on the north and southpole!!
-
Sure, use it wherever you like, as long as you credit the source I don't have a problem.
Yes, the specular is way to high, but you can adjust that too, or as you did, remove it :)
I have like a million and one things on at the moment, but if I do create another planet shader, like all my stuff I will post it :)
-
Yeah, I made the same adjustments and it looks a lot better. I also removed the specular as it seems to look bad on planets. Do you mind if I use this shader in a project I'm working on? I may write my own eventually but yours is good for my purposes and runs pretty fast. If you do write a new one, post a video! I'd be very interested to see it.
-
Yes, took the loop from another shunk of code. Remove the loop. You can raise the brightness on the clouds by doing this in the shader output.Color = (clouds + cloudsN) * 2;
Having ran it now, I really don't like this shader now lol, must do better in future..
-
I am downloading the sample now. In the shader I recall making a few adjustments for brightness. As I say, I'll take a look.. :)
I got this code semi-working in my game but the snag is that the upper outer atmosphere has a very hard edge to it as opposed to the dithered edge in your video. Any thoughts about why that might happen?
zer0sumGames 3 months ago
@zer0sumGames hmmm, not without seeing your implementation really, the original sample was double rendering, if you are still doing that, try removing it, but you will then have to play about with the intensity of the out put...
NemoKradXNA 3 months ago
x-com
defragen1 9 months ago
@defragen1 lol, yes, I loved that game..
NemoKradXNA 9 months ago