I've put some effort to port it into Irrlicht. It's a real pain. So far I've get the shaders to load successfully (not easy as you might think) and set some constants. That's more or less what I did, but can't really advance forward from here.. too complicated! lol
Maybe someone here can shed some ...
Search found 43 matches
- Tue May 18, 2010 12:44 am
- Forum: Game Programming
- Topic: cool graphic stuff
- Replies: 6
- Views: 3351
- Sun May 16, 2010 3:51 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
- Sun May 16, 2010 3:26 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
- Sun May 16, 2010 10:37 am
- Forum: Project Announcements
- Topic: We finished the Spacework
- Replies: 22
- Views: 5278
- Sun May 16, 2010 4:57 am
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
Yup, for example I did:
Code: Select all
rServices->setPixelShaderConstant("skyIrradianceSampler", &this->m_irradianceUnit, 1);- Sat May 15, 2010 8:24 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
- Sat May 15, 2010 5:00 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
- Sat May 15, 2010 12:09 am
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
- Fri May 14, 2010 9:12 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
I've made some more reading.
The "Irrlicht function" you are talking about is addHighLevelShaderMaterial / FromFiles.. right?
I've taken another look at the code, and it seems it loads the shader files, adds some #define lines and adds the options passed.
If you take a look at the code, assuming it ...
The "Irrlicht function" you are talking about is addHighLevelShaderMaterial / FromFiles.. right?
I've taken another look at the code, and it seems it loads the shader files, adds some #define lines and adds the options passed.
If you take a look at the code, assuming it ...
- Fri May 14, 2010 1:38 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
- Fri May 14, 2010 1:19 pm
- Forum: Advanced Help
- Topic: C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
- Replies: 17
- Views: 4979
C++ OpenGL to Irrlicht (Using OpenGL functions in irrlicht)
Hi. I'm trying to port a pure written OpenGL Shader Program (not .glsl files!) to pure irrlicht functions.
How do I access OpenGL functions like "glCreateShader" or "glUniform1f" in irrlicht? Something like:
ClassToHandleShaders* useSahders = new ClassToHandleShaders();
useShaders->createShader ...
How do I access OpenGL functions like "glCreateShader" or "glUniform1f" in irrlicht? Something like:
ClassToHandleShaders* useSahders = new ClassToHandleShaders();
useShaders->createShader ...
- Fri May 14, 2010 1:11 pm
- Forum: Code Snippets
- Topic: My Game Source code
- Replies: 35
- Views: 13231
Mention one place I talked about my ideology.
Compared to your "Operation Flashpoint" example, the developer here really believes in what he does, and the topic wasn't arbitrary chosen, while in "Operation Flashpoint" it is. Do you think the game is the world-view of the employees at "Codemasters ...
Compared to your "Operation Flashpoint" example, the developer here really believes in what he does, and the topic wasn't arbitrary chosen, while in "Operation Flashpoint" it is. Do you think the game is the world-view of the employees at "Codemasters ...
- Fri May 14, 2010 11:19 am
- Forum: Code Snippets
- Topic: My Game Source code
- Replies: 35
- Views: 13231
I won't argue with your opinions, but deleting my comment IS censorship.
Anyway, my previous comment was actually supportive (that why I said "Good minds") - maybe it wasn't clear enough.
P.S. You can see that quote here; http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36975
Anyway, my previous comment was actually supportive (that why I said "Good minds") - maybe it wasn't clear enough.
P.S. You can see that quote here; http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36975
- Fri May 14, 2010 10:55 am
- Forum: Project Announcements
- Topic: Irrlicht i18n (Unicode, FreeType, etc.)
- Replies: 178
- Views: 208688
- Fri May 14, 2010 10:20 am
- Forum: Code Snippets
- Topic: My Game Source code
- Replies: 35
- Views: 13231