Original Post
Is it possible to obtain the current state within a shader? For example. The shader could do something different if textures were not enabled or or is lighing was turned off.
GameDev.net uses cookies to ensure you have the best experience on our platform. Learn more