Jan
12-25-2003, 11:30 AM
Well, iīd like to add shadows to my engine and iīd like to use depth-maps.
Now i read some stuff about it and know the basics. However i came across one thing which i couldnīt get an answer to in those beginner tutorials:
I want to use the depth-shadows for point-lights, so i have to use 6 textures. Now i was thinking, that i could put those 6 textures into one cubemap.
Now i read a tutorial, which used ONE texture (for a spotlight) but already needed all four texture-coordinates! But when i use a cubemap, wouldnīt i need another texture-coordinate, which means 5!? I donīt think itīs possible to use 5 texture-coordinates for one texture-access, so i am a bit confused at the moment.
Could someone tell me, if this is true, or if it works compeletely different?
And could someone tell me how good the quality is? I only saw a lot of demos, which usually looked quite good, but i am interessted in using it as an alround-solution, and certainly then there are a lot more quality issues.
Thanks, and merry Christmas.
Jan.
Now i read some stuff about it and know the basics. However i came across one thing which i couldnīt get an answer to in those beginner tutorials:
I want to use the depth-shadows for point-lights, so i have to use 6 textures. Now i was thinking, that i could put those 6 textures into one cubemap.
Now i read a tutorial, which used ONE texture (for a spotlight) but already needed all four texture-coordinates! But when i use a cubemap, wouldnīt i need another texture-coordinate, which means 5!? I donīt think itīs possible to use 5 texture-coordinates for one texture-access, so i am a bit confused at the moment.
Could someone tell me, if this is true, or if it works compeletely different?
And could someone tell me how good the quality is? I only saw a lot of demos, which usually looked quite good, but i am interessted in using it as an alround-solution, and certainly then there are a lot more quality issues.
Thanks, and merry Christmas.
Jan.