Update v3.3 ( Added Fog support)


In this update of the shader, I have used a different approach for light data transfer (previously it was calculated in the vertex shader that was consuming a lot of semantics), now the calculation has been moved to pixel shader which also opens up the possibility to use more lights at a time.

This update also brings a major addition to the shader that is Fog support, yes it is now possible for the objects on which the shader is applied to render the CC's default fog system. You can check out the demo that comes with this update which shows the fog support.

A new parameter has been added to the shader properties to exclude the object to from the global fog, which means that you can exclude an object from rendering the fog. All you have to do is to uncheck the boolean "Fog Enabled".

 Hope you like this new update! Cheers :)

Files

ccb_action_create_point_light_v3.3.zip( with car demo) 27 MB
Jul 12, 2022

Get Light Shader v4.1

Buy Now$20.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.