How to switch from Lambert to Oren Nayar

Hey so i’m doing a game mostly made in sand and concrete so oren nayar is way better then the default lambert, in 4.17 i was able to switch from lambert to oren nayar with this fonction in the shadingmodels.ush :

But this fonction isn’t here anymore in 4.22 how do i switch to oren nayar now ? thanks in advance :slight_smile: !