Closed Ybalrid closed 6 years ago
As always, Visual Studio let us do thing that will not build on other compiler.
This fixes the PBR CPU shading example on Linux.
Signed-off by: Arthur Brainville (Ybalrid) ybalrid@ybalrid.info
2nd commit of this PR was pushed by mistake on this brach, but you can merge it. It just adds a C++ equivalent of sampler2D/texture2D to get pixel color inside the shader code
Cool! merged.
As always, Visual Studio let us do thing that will not build on other compiler.
This fixes the PBR CPU shading example on Linux.
Signed-off by: Arthur Brainville (Ybalrid) ybalrid@ybalrid.info