# Is there a way to set a shader define in Löve?

I know I can use shader:send() to change variables, but is there a way to set/change a #define?

• Can you elaborate with an example of what you're trying to do? Jan 19 '19 at 16:35

No, there is no way to do that. However, you can prepend a #define macro to the shader code when creating the shader.