mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
Update mudlord-emeraldenvy4.slang
This commit is contained in:
parent
0edde43422
commit
675de2b5c2
|
@ -61,7 +61,7 @@ vec3 getNormal(vec3 pos)
|
|||
|
||||
return normalize(vec3(scene(pos+e.yxx) - scene(pos-e.yxx),
|
||||
scene(pos+e.xyx) - scene(pos-e.xyx),
|
||||
scene(pos+e.xxy) - scene(pos-e.xxy)));
|
||||
scene(pos+e.xxy) - scene(pos-e.xxy)));
|
||||
}
|
||||
|
||||
float render_scene(vec3 ray_origin, vec3 ray_dir,float t)
|
||||
|
|
Loading…
Reference in a new issue