Attach this action to a behavior event and then specify a scenenode in "Light_source" which will act as
point light, specify an "Affecting_node" which will get affected by the light created using this shader.
Specify additional light properties like light color, diffuse color, ambient color, specular color and
specular texture if specular lighting is turned on. You can adjust the strength of light and specularity using
the provided parameters.
Check if you want to affect all the materials of the "Affecting node" or you can uncheck it and can specify
specific material index (for example zero "1" if you want to affect first material of the node only). You can
also specify a "Base_material_type" to blend the shader with other material type for exmaple (12 if you
want to use tranparent_add as base material type). Not all the materials blend with the shader, only a few
can be blended with shaders. specular texture can be provided either by going into irredit/irrlicht
properties and by adding a specular texture in the 2nd texture slot of the material, or you can specify an
external texture name which resides in the same directory as of your project. If no specular texture is
defined then the shader will automatically use the first texture as specular map.
Debugging window of the game/app can throw an error failed to load a texture if specular lighting is
OFF (it is not a error or bug neither it affect the game) this is used to turn ON/OFF Specular lighting.
You can ignore the error in debugging window.
Point light and spot light shader usage video
This extension/plugin is free to download. If you want you can support my work using the buy me a coffee button up there.
Click the block controls to customize the button.
The back to top button scroll delay before the button shows is set to 200px as the default. As you scroll down the page, it displays after 200px of movement. However you have 4 height options to set via codeditor. 200px, 350px, 500px and 650px for the button to appear.
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopb" for 350 px in the first line of this block HTML
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopc" for 500 px in the first line of this block HTML
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopd" for 650 px in the first line of this block HTML
IF BUTTON NOT VISIBLE, PLS MOVE SIDEBAR TO THE RESPECTIVE HEIGHT YOU HAVE SET FOR BUTTON TO APPEAR FOR CUSTOMIZATION.
This is a global block and it only needs to be added and configured on one page and the settings will apply to all pages.
This block will be invisible on preview or publish retaining only the button.
BACK TO TOP FUNCTION WILL WORK ONLY AFTER PREVIEW OR PUBLISH.