• Advertisement
Sign in to follow this  

DXSAS ViewPosition

This topic is 4162 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Im working on making all of my shaders DXSAS compatible, but one semantic I often use is ViewPosition from RenderMonkey. I have noticed that this is not SAS complient, using DXViewer however i dont have a language spec for DXSAS so what is the equivilant semantic? and where can i find a spec? Also how do i use relative paths in shaders rather then absolute paths to resources? thanks

Share this post


Link to post
Share on other sites
Advertisement
I don't know much about DXSAS, but I'm fairly sure you can use relative paths in your shaders in the same way you usually do. Your operating system handles resolution of filenames, so "./file.ext" will generally open 'file.ext' in the current directory.

Regards
Admiral

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement