Search found 308 matches

by Valmond
Sun Jan 29, 2012 8:36 pm
Forum: Advanced Help
Topic: (PSSM) Shader guru help
Replies: 9
Views: 1924

Re: (PSSM) Shader guru help

That's fun, I'm actually trying to change and use deferred shadows :D This is a bit because my terrain shader uses up more than 4 textures (so in an 'ordinary' situation I can't use 4 shadowmaps for the PSSM in it) but also because it seams much neater and easier to maintain, you just need to add a ...
by Valmond
Wed Jan 25, 2012 6:55 pm
Forum: Advanced Help
Topic: (PSSM) Shader guru help
Replies: 9
Views: 1924

Re: (PSSM) Shader guru help

Wrong position / target for the light was one of the problems, now it's working better even if it is not perfect (the bridge isn't lit even if it is in the shadowmap). I'll be back when I have fixed those issues and added some nice filtering, ATM it looks like this (ground isn't rendered): The quest...
by Valmond
Wed Jan 18, 2012 5:58 pm
Forum: Advanced Help
Topic: (PSSM) Shader guru help
Replies: 9
Views: 1924

Re: (PSSM) Shader guru help

Hi Devsh! I know about the 'shadow-casters' / 'shadow receivers' thing but here I don't even get the self shadowing (when the 'bug' is active) so I don't think that's the problem. I don't think I do anything to the near/far values, I don't even change them (well I do use a 'light-camera' to render b...
by Valmond
Mon Jan 16, 2012 9:43 pm
Forum: Advanced Help
Topic: (PSSM) Shader guru help
Replies: 9
Views: 1924

(PSSM) Shader guru help

Hi everyone! I have been struggling for quite some time to implement PSSM , having no luck I finally tried to convert the GPU GEMS 3 example to Irrlicht. I have actually got it up and running but there is a really weird problem... When the camera position is on one side of an item (3D object) it doe...
by Valmond
Sat Jan 07, 2012 6:36 pm
Forum: Advanced Help
Topic: Matrix multiplication order
Replies: 2
Views: 578

Matrix multiplication order

Hi all! I'm trying to convert some DirectX code to 'Irrlich-DirectX' code and it seems the matrix multiplications are 'the other way' in them. In the M$ example it says: Matrix mViewProj = m_mView * m_mProj; but in Irrlicht I do: (starting with Projection and multiplies with View to get, not proj_vi...
by Valmond
Fri Jan 06, 2012 12:50 pm
Forum: Project Announcements
Topic: PSVSM(for XEffect)
Replies: 11
Views: 96500

Re: PSVSM(for XEffect)

This is really excellent, good working!

I tried to make PSSM long time ago, if I can check out your sources I might even get it to work :-)

ps. does it work with hlsl (DirectX) ?
by Valmond
Mon Oct 24, 2011 5:28 pm
Forum: Advanced Help
Topic: 16 textures
Replies: 3
Views: 722

16 textures

Hi all!

Back in the 'ol Irrlich 1.6 days you could quite easily change the 4-texture limit to 16 textures.
With the 1.7 I can only use 8 textures, does anyone have a 'hack' for even more (I'd upgrade to a more
recent Irrlicht if that is needed)?

Thanks!

Valmond
by Valmond
Mon Oct 17, 2011 6:22 pm
Forum: Advanced Help
Topic: Shader override or node copy
Replies: 0
Views: 434

Shader override or node copy

Hi everybody! I'm in the doing of implementing PSSM (parallel shadow split maps, or maybe parallel split shadow maps) and I got a working example up and running. Now I'm trying to integrate the code into my existing game and I have one big problem to solve: When creating the "shadow maps" ...
by Valmond
Mon Sep 05, 2011 5:53 pm
Forum: Beginners Help
Topic: Light in a B3D file doesn't 'show up'
Replies: 6
Views: 258

Re: Light in a B3D file doesn't 'show up'

Thanks, I guess that will be for the moment when I (finally) switches to 1.8 then :-)
by Valmond
Sun Sep 04, 2011 4:53 pm
Forum: Beginners Help
Topic: Light in a B3D file doesn't 'show up'
Replies: 6
Views: 258

Re: Light in a B3D file doesn't 'show up'

Ok, I'll might try to add that to the b3d loader then.

Is there big differences between 1.7.1 scene loader and the latest scene loader?
by Valmond
Thu Sep 01, 2011 3:47 pm
Forum: Beginners Help
Topic: Light in a B3D file doesn't 'show up'
Replies: 6
Views: 258

Re: Light in a B3D file doesn't 'show up'

Is there a way to load lights from a b3d, I mean like "manually scan" the file and take appropriate actions?

Are there another format that lets you have lights loaded automatically?
by Valmond
Thu Sep 01, 2011 1:47 pm
Forum: Beginners Help
Topic: Light in a B3D file doesn't 'show up'
Replies: 6
Views: 258

Light in a B3D file doesn't 'show up'

Hi all of you! Just a quick question, I use 3DSMax to export items to my game and that works fine (with the 'pipeline exporter'), I just load 'em up and it works. Is there a way to add lights to those items (say I want a torch for example) by adding it in 3sdMax and exporting it ? I have tried but, ...
by Valmond
Tue Feb 15, 2011 10:23 pm
Forum: Code Snippets
Topic: Light speed patches
Replies: 10
Views: 2398

Just to get things straight (for me) and everything, does Irrlicht have a terrain mesh (or node) which works 'like'/is a VBO? For me 'VBO' means something like 'data living on the GPU' (well, it always does but here the big difference is that it doesn't needs to be updated each frame). For cube maps...
by Valmond
Tue Feb 15, 2011 1:00 pm
Forum: Code Snippets
Topic: Light speed patches
Replies: 10
Views: 2398

@hendu I tried a lot of things (IIRC maximum patch size was what I used) but I didn't get it to work (fast). @3DModelerMan I just love those reflections you can do with cube maps :) @hybrid Right on that one, it's 'just' a mesh using VBO, shouldn't be that hard to change it into a node (that should ...
by Valmond
Mon Feb 14, 2011 10:41 am
Forum: Code Snippets
Topic: Light speed patches
Replies: 10
Views: 2398

Is it this 'simple terrain' snippet?
I decided to regroup all my snippets here so well I guess I double posted that one.