|
|
||||||||||||||
|
||||||||||||||
|
|
=172; =90; ?> | ||||||
| Register | FAQ | Forum Rules | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#175 (permalink) |
|
Frequenter
![]() 104
- 49
|
Hi Xoliul;
first of all thanks for sharing this very handy and useful shader, I tried it in 3ds 9 and then in 2009, and there is a little bug with it : ![]() This problem occurs both in SM3 and SM2 mode with your shader. (although I've updated my HD 4870 graphic card driver). Now, the wish list :1. could you add a 2-sided face option ? 2. is it possible to set more than two shadows in order to get a better shadow blur ? |
|
|
|
|
|
#176 (permalink) |
|
Senior Member
|
Probably an ATi bug, if you're not doing anything wrong.
2-sided is not so hard, you can do it yourself by edting the technique code, chenging cullmode=cw to cullmode=none. More than 1 shadow I can't do, the shader explodes in number of instructions and texture samplers, making it simply not compile.
__________________
|
|
|
|
| The Following User Says Thank You to Xoliul For This Useful Post: |
|
|
#178 (permalink) |
|
Frequenter
![]() 104
- 49
|
Thanks for your advices, I deleted the turbine model reimported it in the scene and reapply the Xoliul's shader, and it works ! Even if the shadow glitch is back when the shadow omni is to near the model... But at least I can deal with it !
Concerning the shadow blur, Xoliul, I was speaking about a "shadow sample parameter" that would be welcome to enhance more the rendering quality (like a soft shadow support)... |
|
|
|
|
|
#179 (permalink) |
|
Senior Member
|
I really can't do anything more with the shadows. I actually sample the shadow 4 times already, going up to 8 will grind most computers to a halt (not to mention boost shader compile times through the roof), simply because the shadow function Autodesk provides is extremely slow. You'd need to have at least a GTX280 to get it to work decently and with the number of people having issues due to hardware, I don't want to make matters worse.
__________________
|
|
|
|
![]() |
| Bookmarks | |||
Digg
|
del.icio.us
|
StumbleUpon
|
Google
|
| Thread Tools | |
| Display Modes | |