Shadow Mapping Example for OpenGL
Shadow Mapping Example for OpenGL
Here it is.
https://www.dropbox.com/s/rvaquzhg7u2s6pb/SMF.zip?dl=0
The example draws one solid cube and three transparent ones. If compiling for 1.8.1 you will need -DIRRLICHT18.
Thanks to BlindSide for XEffects.
https://www.dropbox.com/s/rvaquzhg7u2s6pb/SMF.zip?dl=0
The example draws one solid cube and three transparent ones. If compiling for 1.8.1 you will need -DIRRLICHT18.
Thanks to BlindSide for XEffects.
-
- Posts: 11
- Joined: Sat Jan 30, 2016 5:47 am
Re: Shadow Mapping Example for OpenGL
What version of irrlicht did you used? It seems like 1.8.1 is missing some functions?
Re: Shadow Mapping Example for OpenGL
You defined IRRLICHT18?
What is the linker output?
What is the linker output?
-
- Posts: 11
- Joined: Sat Jan 30, 2016 5:47 am
Re: Shadow Mapping Example for OpenGL
If I define I get this error -
If I don't, I am getting bunch of error.smf.cpp:697:9: error: 'class irr::scene::ISceneManager' has no member named 'setCurrentRendertime'
Re: Shadow Mapping Example for OpenGL
I believe I used 1.8.1. However the trunk version I have (4988) has it renamed to 'setCurrentRenderPass'.
-
- Posts: 11
- Joined: Sat Jan 30, 2016 5:47 am
Re: Shadow Mapping Example for OpenGL
I never browsed irrlicht svn so no idea where to find it. Could you kindly provide me the link please. Or, is this function available in 1.8.3?
Re: Shadow Mapping Example for OpenGL
You find the svn adddress here: http://sourceforge.net/p/irrlicht/code/HEAD/tree/
You need a svn client (subversion on Linux or TortoiseSvn on Windows for example).
You need a svn client (subversion on Linux or TortoiseSvn on Windows for example).
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
-
- Posts: 11
- Joined: Sat Jan 30, 2016 5:47 am
Re: Shadow Mapping Example for OpenGL
Thank you, will download and compile it.
Re: Shadow Mapping Example for OpenGL
Are you using 1.8.3? Why don't you just look in ISceneManager.h and see if it has been changed to setCurrentRenderPass there.
-
- Posts: 11
- Joined: Sat Jan 30, 2016 5:47 am
Re: Shadow Mapping Example for OpenGL
No, I am using 1.8.1. I asked because, if that function is added in 1.8.3 then I will download that version since I did not know the irrlicht svn location. I have downloaded from svn. I will built it today.
EDIT: I think it was renamed to -
EDIT: I think it was renamed to -
Code: Select all
setCurrentRenderPass()