Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Projection Shadow...?

Started by gamejoy Feb 26, 2003 at 6:45 AM 1 replies 300+ views
Original Post
gamejoy
gamejoy
Cause that error does occurrence Voodoo4 when do Projection shadow processing ? D3Ddevice->SetTextureStageState( 0, D3DTSS_TEXCOORDINDEX, D3DTSS_TCI_CAMERASPACEPOSITION); D3Ddevice->SetTextureStageState( 0, D3DTSS_TEXTURETRANSFORMFLAGS, D3DTTFF_COUNT4|D3DTTFF_PROJECTED ); ==> Dx7.0 Version
S1CA
S1CA
Check the device CAPS. It''s likely that your hardware:

- doesn''t support D3DTTFF_PROJECTED and/or:

- doesn''t support 4D texture coordinates for its texgen


--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedInย |ย Personal site
lun123
lun123
When doing projective shadowing,
will the hardware automatically compare (z/w) value with texture value at (x/w),(y/w) and yield 0 or 1 accordingly?
Do I need to set D3DTSS_COLOROP and/or D3DTSS_ALPHAOP?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.