Admix's vision is to make advertising as native as possible to create the best advertising user experience around. With the shader functionality, you can overlay textures on top of your placements to immerse ads within your scenes to a whole other level. By default, Admix has the Unlit Shader.
To access this feature, open the Inspector Window and scroll down to the 'Shader' section. You can add and apply your own materials with custom CG shaders.
Applying custom materials
- You can change the texture of any specific banner by adding your material into the 'Mesh Renderer' of any Admix banner in your scene. Find the 'Materials' section there and drag your material to the 'Element 0' field.
SRP (URP/HDRP) support
- Admix supports SRP (URP/HDRP). As for any object that supports SRP(URP/HDRP) you need to manually upgrade its materials. For example, for URP you can do that by clicking Edit -> Render Pipeline -> Universal Render Pipeline -> Upgrade project Materials to UniversalRP Materials
Known issues and limitations:
Adding materials into Admix folders causes errors in the console.
Visual issues might appear because of using the 'Enlighten' mode in Lightning settings. Use 'Progressive CPU' instead. You can switch to it by accessing Window - Rendering - Lightning settings. Find Lightmapping settings and switch it to 'Progressive CPU'.
If shadows on the banners are not visible but you're using a material that accepts shadows, the issue might be connected with the 'Quality Settings' options like 'Quality Texture' or 'Shadow distance.' You can access quality settings from the Edit - Project Settings menu. More details about Unity Quality settings are here: https://docs.unity3d.com/Manual/class-QualitySettings.html