|
![]() |
#1 |
Super Moderators
Datum registracije: May 2002
Lokacija: Zg
Postovi: 17,485
|
Soft shadows-novi tech demo by Humus
Od kad je našao posel-malo je živnuo ![]() Samo se nadam da će oni papci u ATI-ju imati dovoljno sluha za dobre ideje. Nakon Dynamic branching dema koji pokazuje kako se to može izvesti i na drugačiji način stiže Soft shadows demo: The fastest way to compute is to precompute. Which is also one of the main reasons why lightmaps are still hanging around. Lightmaps have a number of great advantages. They are very cheap, and you can get soft shadows for free. The disadvantage though is that it's static. You can't move the light and you the geometry must be static. This demo however shows a way to get a bit of dynamic lighting into lightmaps. By storing a bunch of lightmaps for a range of different light positions, and interpolating between the closest lightmaps, you can animate the light and get soft dynamic shadows very cheaply. The idea could also be used for dynamic geometry with a static light in a similiar way. This demo doesn't implement that though. It won't work for arbitrary light positions, but most lights in real world applications don't move around arbitrarily. If they are dynamic they are often swinging in a cable, or otherwise limited in their movement to a simple animation. In these cases, this technique can be used for rendering soft shadows extremely cheap. This demo should work on Radeon 9500 and up and GF 5200 and up. Required OpenGL extensions: GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_ARB_shading_language_100 http://esprit.campus.luth.se/~humus/3D/SoftShadows.zip Samo 1585 KB ![]() Joj...daj bože da on konačno sredi više vražji ATI OGL driver |
![]() |
![]() |
![]() |
#2 |
Caught Somewhere In Time
Datum registracije: Oct 2002
Lokacija: zg-vrbani, vž u srcu
Postovi: 1,860
|
valja isprobat svakako |
![]() |
![]() |
|
|
Oglas
|
|
![]() |
|
|