You are allowed to use assets made before like shaders or others. If u are planning to use code made by someone else, you can aslong you refer to the source. So the anwser to your question is yes.