[News] Ogre 14 released
-
- OGRE Team Member
- Posts: 2087
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1127
-
- Gnome
- Posts: 370
- Joined: Sat Jun 23, 2007 5:16 pm
- x 93
Re: [News] Ogre 14 released
Pretty awesome features. Auto instancing is great.
POM looks very cool, does it self shadow? I remember it many years ago when it became popular. Can this be ported to Ogre-Next too?
Sadly I can't go back from nearly finished Ogre-Next port of StuntRally and I also got stuck to shiny materials not RTSS.
Wow so many contributors, pity that Ogre-Next has so few.
-
- OGRE Team Member
- Posts: 2087
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1127
Re: [News] Ogre 14 released
Crystal Hammer wrote: ↑Sun Jul 09, 2023 11:57 pmPOM looks very cool, does it self shadow? I remember it many years ago when it became popular. Can this be ported to Ogre-Next too?
no self-shadows yet, but they seem to be straightforward to add: https://stackoverflow.com/a/55091654
However, this would increase the fragment shader cost of POM even more.
It can be brought to Ogre-Next in the sense that both use shaders - however the RTSS and the HLMS are not really compatible beyond that..
Crystal Hammer wrote: ↑Sun Jul 09, 2023 11:57 pmSadly I can't go back from nearly finished Ogre-Next port of StuntRally and I also got stuck to shiny materials not RTSS.
you can also enable RTSS on individual objects or just the terrain.
-
- Gnome
- Posts: 358
- Joined: Thu Apr 27, 2006 9:14 pm
- Location: United Kingdom - England
- x 15
Re: [News] Ogre 14 released
RE POM I might add self-shadowing but im not sure as it doesn't really seem worth the performance hit.
Intel i7 4790k, Gigabyte Nvidia GeForce 3080 10GB, 16GB DDR3
-
- Goblin
- Posts: 230
- Joined: Thu Apr 28, 2011 12:23 pm
- x 29
Re: [News] Ogre 14 released
The link in the download section points to 13.6.5 and not to 14.0.0, by purpose?
-
- Gnome
- Posts: 370
- Joined: Sat Jun 23, 2007 5:16 pm
- x 93
Re: [News] Ogre 14 released
Okay right. Is it possible on nowadays GPUs to have in shaders e.g. POM close (or even POM shadowed closer) and no POM further in distance? I mean so that each step has better performance (but still same shader). Or would this require separate draw calls with 3 shaders?
-
- Gnome
- Posts: 358
- Joined: Thu Apr 27, 2006 9:14 pm
- Location: United Kingdom - England
- x 15
Re: [News] Ogre 14 released
Crystal Hammer wrote: ↑Tue Jul 11, 2023 2:34 pmOkay right. Is it possible on nowadays GPUs to have in shaders e.g. POM close (or even POM shadowed closer) and no POM further in distance? I mean so that each step has better performance (but still same shader). Or would this require separate draw calls with 3 shaders?
This has already been implemented with terrain - you set the max_distance parameter.
Intel i7 4790k, Gigabyte Nvidia GeForce 3080 10GB, 16GB DDR3
-
- OGRE Team Member
- Posts: 2087
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1127
Re: [News] Ogre 14 released
Crystal Hammer wrote: ↑Tue Jul 11, 2023 2:34 pmOkay right. Is it possible on nowadays GPUs to have in shaders e.g. POM close (or even POM shadowed closer) and no POM further in distance? I mean so that each step has better performance (but still same shader). Or would this require separate draw calls with 3 shaders?
while scratchyrice already implemented a cutoff distance based strategy, this got me thinking to actually expose the material LOD index:
https://github.com/OGRECave/ogre/pull/2889
Ogre already has a sophisticated LOD system in place where you can use not only the distance, but also the pixel count or the screen display ratio.
With this you can configure your LODs in the material script and then just handle the resulting LOD index in the shader.