NOTE!!!!!!
Due to a recent update, Compatibility has been removed.It is recommended that you use ColorGradingEffect.
Introduction
While it is good to use Future for realistic lighting, sometimes you don't like realism and instead opt-into some cartoon-like lighting for good pleasure.Well, I’m here to help you with that by using only three services (two rather):
- Lighting (main)
- MaterialService (main)
- Terrain (optional, for clouds.)
Lighting
This is the primary part of creating shaders if you don't care about materials.Here, you can adjust any kinds of parameters.
This is what it looks like:
Appearance
- Ambient - Controls the overall color of the place, can go over 255.
- Outdoor - Controls the color of the outdoors.
- Brightness - Controls the overall brightness (Depends on Technology).
- ColorShift - Controls the color of a selected group (Top/Bottom), can go over 255.
!!! These properties only work on Voxel and Compatibility.
- Enviornment - Diffuse and Specular, both limited to 0 - 1.
Comparison
- Diffuse - Controls how light (skybox-only) scatters around the dark:
- Without Diffuse:
- With Diffuse:
- Specular - Controls how light (skybox-only) scatters around the light:
- Without Specular:
- With Specular:
- GlobalShadows - Self-explanatory; removes any shadows except for the humanoids’.
!!! To remove humanoid shadows, either manually turn off all shadows or create a script that automatically removes all forms of shadows from the humanoids.
- Technology - Controls how the lighting works.
Data
We will only be focusing on two parameters (three actually) here.- ClockTime/TimeOfDay - Controls the time (one is a number while other is a string).
- GeographicLatitude - Controls the offset of the time.
Exposure
Self-explanatory; unlike Brightness, Exposure lightens up everywhere.Fog
To get the Fog tab, remove "Atmosphere".- FogColor - Self-explanatory; can go over 255.
- FogEnd - Controls how far the fog should be.
-
FogStart - Controls how far the fog should start.
Now that we’ve learned the parameters, let’s see what we can do with them!
If you want to learn more about Lighting, check the documentation here.
MaterialService
If you like shaders with custom materials then use this one.Here, you can change materials.
This is what it looks like:
To get the pre-2022 materials, untick Use2022Materials inside Material Pack.
To make a variant of an already-existing material:
- Insert a MaterialVariant inside MaterialService.
- Select the Base Material.
- Adjust the look (use image ids for texture maps, adjust the size and pattern).
To change the variant of a certain part:
- Select the part.
- Go to MaterialVariant.
- Change the Variant.
To replace the material with the variant:
- Go to MaterialService.
- Search for a material to replace.
- Change the Variant.
Here is an example of those steps being used:
If you want to learn more, check the documentation here.
Clouds
Clouds can also be used to enhance the "shader", since clouds affect the shadows; they should affect the overall look as well.You can also change the color of the clouds for an added bonus, like in this example here:
The cloud color is -2147483648, -2147483648, -2147483648
Congratulations! You’ve now learned how “shaders” are made.
Now, you can flex about the fact that you’ve basically used several
If you want to learn more about how different types of “shaders” are made, then be sure to check the topic here.