"Author: A fool who, not content with having bored those who have lived with him, insists on tormenting generations to come."
- Montesquieu
More pages: 1 ... 11 ... 21 ... 31 ... 41 ... 51 ... 61 ... 71 ... 81 ... 91 ... 101 ... 111 ... 121 ... 131 ... 141 ... 151 ... 161 ... 171 ... 181 ... 191 ... 201 ... 211 ... 221 ... 231 ... 241 ... 251 ... 260 261 262 263 264 265 266 267 268 269 270 ... 281 ... 291 ... 301 ... 311 ... 321 ... 331 ... 341 ... 351 ... 361 ... 371 ... 381 ... 391 ... 401 ... 411 ... 421 ... 431 ... 438
Query FailedHumus
Tuesday, April 25, 2006

I've upload a new version. The shadows should work on nvidia now. I also improved dynamic branching performance a bit.

Typh
Tuesday, April 25, 2006

I click on the exe but nothing doesn't happen! is not executed! I have a nv660gt 256mb

S2
Tuesday, April 25, 2006

Yep, I get no shadows or light on my 6600GT.

overlord
Tuesday, April 25, 2006

Got the same effect on windows to.

fenris
Tuesday, April 25, 2006

The shadows do not work on nvidia cards in linux (driver version 87.56) unless I change the depth of the render target from 16 to 24.

thomas
Monday, April 24, 2006

Forgive my late comment on this great demo

I was interested how you did the omnidirectoral shadow mapping. Obviously it had to be cube maps or dual paraboloids. Cube maps, however, don't support depth maps to my knowledge.
From what I understood, you write the length of the light vector to a RBBA8 colour cubemap, and read the x coordinate in the pixel shader. At this point, it gets beyond my understanding. This is actually a 8bit depth value? 8bit depth?
Also, the shadow calculation atten *= float(dot(lVec, lVec) < shadow * shadow); is beyond my understanding. dot(lVec, lVec) == 1 for all values, and shadow*shadow is always less than 1 (unless distance was infinite), so this expression is equal to atten=0.0;? That can't be.
What is my mistake? I mean, it obviously *works* (as can be seen), but I am unable to understand why...
Thanks for your answer

Humus
Sunday, April 23, 2006

No, I didn't program Villagemark.

rP
Saturday, April 22, 2006

Overlord, thanks for the clarification.

More pages: 1 ... 11 ... 21 ... 31 ... 41 ... 51 ... 61 ... 71 ... 81 ... 91 ... 101 ... 111 ... 121 ... 131 ... 141 ... 151 ... 161 ... 171 ... 181 ... 191 ... 201 ... 211 ... 221 ... 231 ... 241 ... 251 ... 260 261 262 263 264 265 266 267 268 269 270 ... 281 ... 291 ... 301 ... 311 ... 321 ... 331 ... 341 ... 351 ... 361 ... 371 ... 381 ... 391 ... 401 ... 411 ... 421 ... 431 ... 438