ridergogl.blogg.se

Gaming stackexchange homeworld cataclysm windows 10
Gaming stackexchange homeworld cataclysm windows 10













gaming stackexchange homeworld cataclysm windows 10

Your light values are quantized but you're not blending them.

Gaming stackexchange homeworld cataclysm windows 10 plus#

It's not it is 3D and they are able to use surface normals and dot products to work out lighting using GLSL, plus the unreachable background area around the playing zone seems to be lighting up too, with what looks like a stable FPS. Also, it drops the FPS from 120 with no lights to around 60-70 FPS with ~100 lights.Īnd then are games such as Apotheon which has beautiful dynamic lighting that even does what you'd expect lights from a fire to do ( sort of change distance every now and again? Not sure about the proper wording). (A few bugs as you can see flashing tiles on the left for when the zombies turn water into ice, sorry about the music)Īs you can see, my lighting is very "square". The zombies are effected by the light as I just look at the tile underneath them and then apply the light value of that tile onto the them ( still just using colours) (sorry for using YouTube, and I think the weird lighting/ saturation is caused by YouTube "optimizations")Īnd then I decided to add some "lighting", which was as simple as changing the color of the tiles using these 2 methods here in the light class (Which is due to be improved as rn the light intensity is fixed at distances) and here, in the Tile class I just been using C++ and SFML which I enjoy using.Īnyways, here it what it looked like a few days ago: I been making a game for fun which can be found here (Most of the file commits say "lighting" but that was only because the I had a compiler bug or something and to use some files from a back-up to fix it, and thus it said that a bunch of files had changed even though they were the same.)















Gaming stackexchange homeworld cataclysm windows 10