In-house game engine
In-house game engine
Hi, this is the first time I show something interesting on Irrlicht forum.
Here is the video of an in-house engine that I've developed for 6 months using Irrlicht 1.8.4 and other open-source libraries.
https://www.youtube.com/watch?v=oA3DSrPInag
Images are clipped by the forum, open in a new window to see in full size:
First cube rendered (physically based rendering - PBR)
One of the level for AI testing (single point light)
Render test (all materials are PBR, random point lights)
New GUI skin
Sponza scene after corrected some lighting (differrent from the video), 3 directional lights
New feature to render transparent objects with/without normal map (this version is released yesterday)
Sponza scene with transparency support
Development:
- Irrlicht itself is not modified at all, but compiled with 8 material textures support enabled
- UI is done with CEGUI
- I write custom deferred renderer using Irrlicht as back-end
- Still don't have reflection due to lack of cubemap support, could someone help me to understand Screen Space Reflection using ray marching?
- May study XEffects to implement shadow for this engine
- Will probably modify Irrlicht for more performance
- Open-source? Maybe, but not soon for sure, I have to finish my first game, demo scenes can be released if I make some
Jan 15th 2018
One more random point lights scene
Physically based rendering test
Here is the video of an in-house engine that I've developed for 6 months using Irrlicht 1.8.4 and other open-source libraries.
https://www.youtube.com/watch?v=oA3DSrPInag
Images are clipped by the forum, open in a new window to see in full size:
First cube rendered (physically based rendering - PBR)
One of the level for AI testing (single point light)
Render test (all materials are PBR, random point lights)
New GUI skin
Sponza scene after corrected some lighting (differrent from the video), 3 directional lights
New feature to render transparent objects with/without normal map (this version is released yesterday)
Sponza scene with transparency support
Development:
- Irrlicht itself is not modified at all, but compiled with 8 material textures support enabled
- UI is done with CEGUI
- I write custom deferred renderer using Irrlicht as back-end
- Still don't have reflection due to lack of cubemap support, could someone help me to understand Screen Space Reflection using ray marching?
- May study XEffects to implement shadow for this engine
- Will probably modify Irrlicht for more performance
- Open-source? Maybe, but not soon for sure, I have to finish my first game, demo scenes can be released if I make some
Jan 15th 2018
One more random point lights scene
Physically based rendering test
Last edited by mant on Mon Jan 15, 2018 1:13 am, edited 1 time in total.
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: In-house game engine
CubeMap support is in Irrlicht trunk version I think (was coded by Nadro, I didn't get yet to use it, but slight warning - the interface might change once more for that within next months).
Great screenshots!
Great screenshots!
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: In-house game engine
I will try to allocate time to check out trunk version so maybe I could understand the implementation of cubemap and contribute it to 1.9
No promises but I will do something to contribute
No promises but I will do something to contribute
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
-
- Competition winner
- Posts: 688
- Joined: Mon Sep 10, 2012 8:51 am
Re: In-house game engine
Your transparent cubes look odd: only the front faces are showing, probably because you have back-face culling still on. You might want to disable that when you have transparent materials.
Your random point lights test looks cool.
Your random point lights test looks cool.
Re: In-house game engine
Then he'll need one more pass of deferred for one more layer of transparency.Your transparent cubes look odd: only the front faces are showing, probably because you have back-face culling still on. You might want to disable that when you have transparent materials.
Re: In-house game engine
I have just realized that, I could also blend Irrlicht's forward pass with mine, or the base material of transparent cube is currently solid, it should not be solid.devsh wrote:Then he'll need one more pass of deferred for one more layer of transparency.Your transparent cubes look odd: only the front faces are showing, probably because you have back-face culling still on. You might want to disable that when you have transparent materials.
I will check again, thanks guys.
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: In-house game engine
One more random point lights scene
Physically based rendering test
Physically based rendering test
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: In-house game engine
Good lord!, there are more models out there than the (in)famous Sponza atrium by crytek!
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Re: In-house game engine
Hehe, everyone uses Sponza. I guess it allows for great comparisons with other people using it. Btw, Sponza atrium shows even up in game of thrones :-) (for King's Landing castle).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: In-house game engine
Sponza just works for me in first try so I keep using it, will look for other scenes when I have enough time and motivation for that
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: In-house game engine
Hi Mant,
That is a nice normalmap on that lion's head.
I am having a few problems with normalmaps which is how I came across your post.
Nice work though.
That is a nice normalmap on that lion's head.
I am having a few problems with normalmaps which is how I came across your post.
Nice work though.
Re: In-house game engine
Thank you, it's original normal map image from Crytek's sponza. And my pixel shader code is:Asimov wrote:Hi Mant,
That is a nice normalmap on that lion's head.
I am having a few problems with normalmaps which is how I came across your post.
Nice work though.
Code: Select all
vec3 normalMap() {
vec3 Normal = normalize(normal);
vec3 Tangent = normalize(tangent);
Tangent = normalize(Tangent - dot(Tangent, Normal) * Normal);
vec3 Bitangent = cross(Tangent, Normal);
vec3 Bump = texture(texture1, texCoord).xyz;
Bump = 2.0 * Bump - vec3(1.0, 1.0, 1.0);
mat3 TBN = mat3(Tangent, Bitangent, Normal);
Normal = TBN * Bump;
Normal = normalize(Normal);
return Normal;
}
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404