It is currently Fri Jun 23, 2017 10:31 am

All times are UTC - 5 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Shader VMK 61 - AssetStorage GuiElement Update
PostPosted: Sun Nov 30, 2014 3:28 pm 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1094
Location: Ontario Canada
In this video I update the AssetStorage class so that it supports GuiElements. Now anytime that a GuiScreen objects is created, it will automatically be managed by the AssetStorage class. The AssetStorage class's interface if also slightly renamed for handling MKO objects and the Game class is updated to create real instances of GuiScreen objects.


Offline
 Profile  
 
 Post subject: Re: Shader VMK 61 - AssetStorage GuiElement Update
PostPosted: Sun Nov 30, 2014 8:20 pm 

Joined: Mon Mar 24, 2014 2:25 pm
Posts: 69
EDIT: Found the issue although I'm not sure what is causing the difference between the two modes. I had a registry key, "[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]" set to an old folder. This key sets the default directory when using the command prompt. Apparently VS2013 uses this key for the default directory when doing "Run without debugging" no matter what solution you are in.

Hey Marek,

Almost successfully implemented, but I've run across an error. It may not be associated to this VMK, so not sure if this is the correct place to post.

When attempting to "run without debugging" the engine so far seems to be reading a different glsl file than in "start debugging" mode. I receive the following message. The problem is my shader file doesn't have any of the issues described below. It almost seems that the run without debugging is attempting to read a shader that isn't there or a cached version? I tried a couple clean builds and the problem still persists in Ctrl-F5, but no issues at all when doing a normal F5 debug run. Is this something to do with the project configuration?

Error [2014.11.30 20:18:00.045] FShaderManager::ProcessAttributes Errors were found with ATTRIBUTE variables in ShaderProgram[0]
InColor of type{other type not specified in GetShaderTypeName} is used in the shader but was not added to the ShaderProgramSettings with AddVariable()
InTexCoord Variable{2} of type {float vec2} is not used in the shader

Any thoughts would be greatly appreciated.


Offline
 Profile  
 
 Post subject: Re: Shader VMK 61 - AssetStorage GuiElement Update
PostPosted: Mon Dec 01, 2014 2:26 am 

Joined: Sat Aug 16, 2008 7:58 am
Posts: 447
Caught up and finished this one too, very nice and I'm ready for the next video/s.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

cron