Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [AGKVR] Enable shadows, HMD display breaks

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 21st Aug 2017 21:42
If I enable shadows, >60% of the display is clipped and other distortions in the HMD

Uncomment the shadow bit and it works again.
The shadows are rendered in the HMD view as well as the monitor.

Example code:

Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 22nd Aug 2017 13:21
I will try to look at this soon. I probably can't do anything on my end though. AGKVR renders to images internally, so I'm guessing this problem is a difference in how AppGameKit renders shadows to the screen versus render images.
a.k.a WOLF!
basicFanatic
7
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 22nd Aug 2017 17:13
There's clipping all right! Wonder what's going on. I have been trying shadows in AGKVR before, without clipping, even if the shadows were super ugly for some reason.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 22nd Aug 2017 21:13
The shadows used to work once?
When i can see them in the small area, they look very bad.
basicFanatic
7
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 22nd Aug 2017 22:02 Edited at: 22nd Aug 2017 22:25
The shadows are super ugly, unfortunately, but this example doesn't have clipping:



EDIT: I just discovered that SetShadowRange( -1 ) made the shadows super low-res. The code is updated and the shadows noticeably better!
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 22nd Aug 2017 22:45
Nice one.
I see it's the SetScissor(0,0,0,0) command that sorts out the letterbox, but it only becomes necessary when enabling shadows!

Login to post a reply

Server time is: 2024-11-24 09:46:30
Your offset time is: 2024-11-24 09:46:30