Category Archives: Technology
As the title indicates, today I finished up the other shaders in per-pixel mode… Still need to port them over to OpenGL (I’ve done them on Direct3D because I still don’t trust the OpenGL renderer that much), but that should be a couple of hours… Now listening to “Sirenian Shores” by “Sirenia” Link of the […]
First draft of the per-pixel lighting on “Gateway”… It’s a bit hard to see the effect, because the vertex density is quite high normally. Per vertex: Per pixel: You can notice it especially on the edge of light behind the player… Still missing the per-pixel lighting on the other shaders of the game, but it […]
On my rendering system, I’m using something I call a “render environment” to compile the right version of the shader. This has data like how many lights are active, what types, what components are enabled on the mesh (normal, how many texture coordinates), what render pass are we doing, etc. This is stored on a […]
As I mentioned yesterday, because of the way I’m doing the alpha-testing, if I want to place the depth on the alpha channel of the render target that I’m using for the screenspace effects, I need a way to keep the alpha testing, but don’t use the end result of the rendering for it… If […]
Time has been a bit tight lately (just back from holidays, so work has piled up), but today, between house chores and resting, I managed to add rendering of the normals: Here you can see the normals mapped to colors… For example, the lime green corresponds to a normal vector of (0,1,0). Now I want […]
Today I started working on the screenspace effects… Screenspace effects are effects that use only the “rendered image”, or more precisely, the 2d representation of the scene (not the whole 3d nature). A lot of effects fall under this category (and a whole lot more are being worked on all the time)… For my purposes, […]
The AI on Gateway searches for an attack slot on the target. That’s used to stop the AIs from clustering on a single position. They request an attack slot to the target, and they keep refreshing it, until they lose it if they don’t target it anymore. Until now, the attack slots were attributed in […]
Today I mostly fixed small things that were on the polish list for ages now, like transparent map display (and better filtering on it), and other dozens of small items: Sometimes this takes way longer than it should, not from an actual work perspective, but just deciding if 60% opacity is better than 50% and […]
Well, this is one of those days that feels like a waste, although it isn’t… I decided to put in a loader for the game, so that the player has some feedback while it’s loading: All fine and dandy, working perfectly… Problem is that in the process of making the loader, I found a couple […]
Yay! And what better way to start New Year than to have finished the worse task on my task list, the OpenGL port! It still has some stuff that has to be reviewed, optimized, etc, but it’s functional and almost undistinguishable visually from the Direct3D version! Now, I just have to decide on what’s the […]