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.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more