Sign in to follow this  

DXSAS ViewPosition

This topic is 4093 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
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

This topic is 4093 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this