Open shading language try this youtuber code
surface environment_node(
// filepath input
string filepath = "find internal blender image path and putin",
// surface color output
output closure color out_color = 0,
)
{
// Image vector value
vector mvdir = I;
// environment function return color
color print = environment(filepath,mvdir);
// surface color output = image color * emission strength
out_color = print * emission();
}
My similar code:
surface environment_node(
// image color input
color image = 0,
// surface color output
output closure color out_color = 0,
)
{
// surface color output = image color * emission strength
out_color = image * emission();
}
![[![enter image description here][1]][1][1]: https://i.stack.imgur.com/lfxEo.png](../../images/48c98a6e4f705f12c31982b41661bb96.webp)
or emission node similer
surface environment_node(
// image color input
color image = 0,
// strength
float strength = 2,
// surface color output
output closure color out_color = 0,
)
{
// surface color output = image color * emission strength
out_color = image * strength * emission();
}

To use it add Environment node and plug in the Color output to Image input.