Closed
Description
I've successfully translated several shaders via @smkplus' ShaderMan (in Unity, and via your web app).
However, in the attached example this shader compiled with a simple fix (see below), but the resulting compiled shader displays as black in Unity 5.6.x.
If the community has any suggestions I'd love to understand.
The only change I made from the ShaderMan output is this simple adaptation below:
float3 rd = normalize(camera(ro, la)*vec3(uv, 1.97));
I replaced the explicit multiplication with the mul() method:
float3 rd = normalize(mul(camera(ro, la), vec3(uv, 1.97)) );
Thanks again for a great tool!
Metadata
Metadata
Assignees
Labels
No labels