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.

DarkBASIC Professional Discussion / Set Display Mode stops DarkShader example working

Author
Message
Syncaidius
21
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 26th Aug 2010 13:31
Ok, so I've been trying to figure out why nothing is drawn in any of the DarkShader examples from the help files, if i use any DBP commands that change the display settings in any way, such as SET DISDPLAY MODE and SET WINDOW OFF



I've tried everything I can think of... It works fine, until i uncomment/add SET DISPLAY MODE or use SET WINDOW OFF.

I have no idea if this has anything to do with the way LOAD CAMERA EFFECT and SET CAMERA EFFECT work internally, since TGC didn't provide much help at all for those commands, except what was on the example page in DarkShader Help files.

Any help would be appriciated.

James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 26th Aug 2010 13:39 Edited at: 26th Aug 2010 13:47
Use "reload display pointer" after changing resolution or switching windows mode
In a recent(ish) upgrade DS commands became free(DS is still worth purchasing as a tool plus you get a selection of dbs shaders). However they remain undocumented. You can find a list of commands though in shaderdata.ini in your Editor>Keywords folder as follows;
Syncaidius
21
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 26th Aug 2010 13:50 Edited at: 26th Aug 2010 13:50
Ah, that fixed the problem. Thanks very much for that! I never knew all those commands were there either.

Login to post a reply

Server time is: 2026-07-23 12:10:31
Your offset time is: 2026-07-23 12:10:31