Hello.
I just started to play around with with glsl. I would like to know if it's possible to send an array to my vertex shader, eg:
//.h c++
struct MyLight
{
SColorf color;
vector3df pos;
};
let's say I have an array with 2 MyLight's, can I send them to the shader.
I know how to do it ...
Search found 38 matches
- Tue Sep 15, 2009 7:43 pm
- Forum: Advanced Help
- Topic: RendererServices, send an array [GLSL]
- Replies: 1
- Views: 381
- Tue Aug 05, 2008 6:27 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Massive framework article
- Replies: 2
- Views: 2681
- Sat Aug 02, 2008 12:12 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Massive framework article
- Replies: 2
- Views: 2681
Massive framework article
Hello. I made a article abot how to make a irrlicht framwork, how to preform rtotation, handle buffered input and other usefull stuff for beginners.
Pleas ceck iot out and give some feed back.
Hope it will help some one.
http://hermansson.sajt.org/
the page is uner construction...so everything ...
Pleas ceck iot out and give some feed back.
Hope it will help some one.
http://hermansson.sajt.org/
the page is uner construction...so everything ...
- Fri Aug 01, 2008 5:45 am
- Forum: Bug reports
- Topic: [no bug] drawLine3D bug
- Replies: 3
- Views: 1206
- Sun Jul 20, 2008 11:58 am
- Forum: Beginners Help
- Topic: Instancing
- Replies: 27
- Views: 2701
- Sat Jul 19, 2008 6:09 pm
- Forum: Beginners Help
- Topic: Instancing
- Replies: 27
- Views: 2701
- Sat Jul 19, 2008 6:03 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Sugestion for the scenemanager
- Replies: 5
- Views: 998
- Sat Jul 19, 2008 2:47 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Sugestion for the scenemanager
- Replies: 5
- Views: 998
Sugestion for the scenemanager
Im quiet new ti the engine, I've learned gameprogramming on another engine create by my school. One thing that I can do with my engine in school that I can't do in irrlicht is to choose if the model i added to, in this case, the scenemanager should be rendered by the scenemanager or if it should be ...
- Sat Jul 19, 2008 1:49 pm
- Forum: Beginners Help
- Topic: Instancing
- Replies: 27
- Views: 2701
- Mon Jul 14, 2008 3:39 pm
- Forum: Bug reports
- Topic: [no bug] drawLine3D bug
- Replies: 3
- Views: 1206
[no bug] drawLine3D bug
void
Application::Render( void )
{
m_pVideoDriver->beginScene(true,true, SColor(127,127,127,255) );
RenderWindowCaption();
m_pSceneManager->drawAll();
m_pGUIEnviroment->drawAll();
m_pChatManager->Render();
m_pVideoDriver->draw3DLine( vector3df(0,-30,-500), vector3df(0,-30,500) );
m ...
- Sun Jul 13, 2008 3:20 pm
- Forum: Beginners Help
- Topic: load .bsp difference from irrlicht v.1.4 to v.1.41
- Replies: 5
- Views: 412
- Sun Jul 13, 2008 2:38 pm
- Forum: Beginners Help
- Topic: load .bsp difference from irrlicht v.1.4 to v.1.41
- Replies: 5
- Views: 412
- Sun Jul 13, 2008 11:51 am
- Forum: Beginners Help
- Topic: load .bsp difference from irrlicht v.1.4 to v.1.41
- Replies: 5
- Views: 412
load .bsp difference from irrlicht v.1.4 to v.1.41
Hello. I jus updated to the newest version of irrlicht. Suddenly I couldn't load my Q3 map anymore. I use the map loaded in tutorial 2.
tgis is my code
m_pWorldManager = new WorldManager();
SWorld* pWorld = new SWorld();
m_pIrrDevice->getFileSystem()->addZipFileArchive("data/worlds/map ...
tgis is my code
m_pWorldManager = new WorldManager();
SWorld* pWorld = new SWorld();
m_pIrrDevice->getFileSystem()->addZipFileArchive("data/worlds/map ...
- Tue Jul 08, 2008 9:02 pm
- Forum: Beginners Help
- Topic: Instancing
- Replies: 27
- Views: 2701
- Thu Jul 03, 2008 3:27 pm
- Forum: Beginners Help
- Topic: Instancing
- Replies: 27
- Views: 2701
I mean, what if you have an multiplayer game. 5 v s players and each player has a rocket launcher. First of all, if you can't instance a model you would have loaded 10 highpoly charcters wich has their own nodes. having 10 highpoly models in the same frame would draw much fps. and if those players ...