FreeGameDev Planet - Development

Also check out the games planet.

October 14, 2017

Castle Game Engine

Shaders unification: Phong shading, bump mapping and CommonSurfaceShader on mobile, 100% modern rendering on desktop

I have just finished a large rework of our rendering code 🙂 This unifies desktop (OpenGL) and mobile (OpenGLES) shader rendering better, and brings many new rendering features:

  • You can now choose between Gouraud or Phong shading, on both OpenGLES (mobile) or OpenGL (desktop). Our shaders support all combinations. By default we do Gouraud shading, but you can switch to Phong for the whole scene by Scene.Attributes.PhongShading := true or only for a particular shape using Shape.Shading := shPhong. See also the X3D Shape.shading field.

  • Bump mapping (even steep parallax bump mapping with self-shadowing), specular maps and other CommonSurfaceShader features are now fully available on OpenGLES (mobile platforms).

  • You can set global EnableFixedFunction variable to false on desktops, to force absolutely all rendering to go through shaders, without any fixed-function calls. This makes our desktop rendering 100% based on shaders, instead of the previous mix of shaders and fixed-function operations. This will be the default (on modern GPUs) soon, and you’re welcome to test it now. You can also test it using view3dscene, just pass command-line option --debug-disable-fixed-function.

  • P.S. See also a simple example how to build a scene with custom shaders (X3D ComposedShader node), on display_box_custom_shaders.lpr.

by michalis at October 14, 2017 02:29 PM

October 13, 2017

Godot Engine

As an Open Source project, Godot is more than a game engine

Godot is a community developed game engine. The development process is becoming tighter and more efficient every day. As the amount of contributors keep growing exponentially, it's a big challenge for us to keep this process efficient and yet improve it.

October 13, 2017 12:00 AM

October 11, 2017

Solarus

Solarus Press Kit

As you may have noticed, Solarus recently got some spotlight thanks to several websites. PC Gamer made a interview of Christopho and talked about Solarus in a really good article.

Since several websites may want to talk about Solarus, we made a press kit so it’s easy for them to gather logos, Editor screenshots and more. It’s here.

Flattr this!

by Neovyse at October 11, 2017 08:30 PM

Allegro

October 10, 2017

OpenMW

Interesting things are happening on GitHub

Another month has passed since we last updated you all with OpenMW’s latest news. Much has happened since, and I’m not going to let you wait any longer for more news.

As you might remember from the previous news post, the last release (0.42) attracted a couple of new developers to help out with the engine and the editor. We are really starting to see the effect of this now.

Recently added features & features being worked on right now:

Akortunov, a relatively new developer still, is smashing bugs like a pro. He has also been working on quite a few really interesting features. One of them includes an overhaul to the pickpocket system. The old broken vanilla system will still be available for those who want a pure vanilla experience, but with akortunovs new changes, the engine will calculate the success of the pickpocketing based on weight instead of value, and you will also be able to do “reverse pickpocketing”, or in other words, place things in a victim’s inventory. Note that it is not merged into master yet, which means that the feature might end up not exactly as described above.

Crassel (or crussel187 on github), another newer developer, has been working on implementing an “over the shoulder” 3rd person perspective option. He has a successful prototype working, and only details left to do until it’s ready to hit master. He is also working on making animation support available to our graphics engine’s native 3d model format osgb/osgt. This feature might open up a ton of new possibilities for OpenMW. It is a quite big project, so time will tell if he can make it work.

Drummyfish, yet another new developer, has improved the water shader by reducing some white line artifacts seen on coastlines and implemented a raindrop water ripple effect. This feature is already merged, so you can try it already with a recent nightly or build from the master branch. And as if this wasn’t enough, drummyfish is continuing his path on mastering digital water by working on an overhaul of the rain and snow particle effects. As of now, rain in OpenMW has a fixed position above the player’s camera, like a small cloud that awkwardly follows you. But when drummyfish is done with his new implementation, we will no longer be stalked by rain and snow. There are some technical issues still to be solved until it can be merged however.

Thunderforge is no longer a new member here. When he joined the forums, he came like a prophet, carrying uncomfortable truths that needed to be told. Truths about a community needing to repent a launcher that needs to become more friendly to new users. He has begun working on this, and in a not too distant future, we might be directed places to buy Morrowind directly from the launcher if you do not have Morrowind installed already. How and if this should be done is still a matter of debate, so this feature could take some time before it is done.

AnyOldName3 should no longer be considered new here either. You know him from the last news post. He is still working on his shadows implementation. It may be looking a bit funky still, but he is getting closer and closer. So far, the performance impact is impressively small.

Here is a video showing AnyOldName3’s shadows in a less-funky situation. With “less-funky”, I mean a situation where they work unusually well. In other situations, it can still look rather strange sometimes. But he’s really getting there, isn’t he?

Chris/kcat is a veteran in the community. He has been working on building further upon the glorious foundation of distant land that scrawl gave us. He wants to add functions to be able to more easily adjust the fog distance and make it look better with distant land. This will hopefully make our already great looking distant land look even better. There are still more to do to this feature, but if we are lucky, we can play with it in the next release.

As mentioned in the last post, Aesylwinn is back in action to do work on the CS. He and PlutonicOverkill teams up for the ultimate goal of full terrain mesh editing. Although this goal is not fully met yet, Aesylwinn has quite recently gotten his land texture editing feature merged into master, which means it will be available in version 0.43! Great news right? The mesh editing will probably take some time to finish, but hey – not too long ago, no one was working on this feature at all.

And one last thing. The almighty scrawl got so sick of the old implementation of the window manager (controlling the GUI in the game engine) that he completely overhauled it, adding new features as a nice bonus for us mere peasants. What kind of features you say? Well how about being able to navigate more or less all the menus with your keyboard? Bam! Grab the latest nightly or wait until 0.43 to test this out.

Want to contribute?

Even though we have gotten quite a few more developers recently, it never hurts with even more. If you think you have the programming experience to help out, but don’t know where to start learning our code base, have a look at some of these wiki pages for some code documentation:

Developer reference

You might be extra interested in the pages about the engine’s architecture, including info about the GUI (MyGUI) and rendering engine (OpenSceneGraph).

But what if you’re not a programmer? We always need help with more bug testing. Run the game and report bugs.

We also need help with sorting these bug reports, aka “triaging” them. This is suitable if you’ve been here for a while and you’re familiar with how the project is organized. The work of a bug triager is described here.

That’s it for today. If all goes well, our eminent video editor will return from doing his exams in a week or so. This means that 0.43 is not too far away now. Stay tuned!

Want to leave a comment?

by lysol at October 10, 2017 08:13 PM

October 09, 2017

Cocos2d-x

Cocos2d-x v3.16 released!

Highlights better support creator_to_cocos2dx Creator plugin add LayerRadiaGradientLayer update to support Android Studio 2.3.3 fix the issue that lua projects will crash on iOS simulator with Xcode 8.0+ revert functionality of CocosStudio reader and flatbuffer fix compling errors with iOS 11 use prebuit

by Virginia Hong at October 09, 2017 09:01 AM