Skip to content
Snippets Groups Projects

Implements #188 normal shading

Merged Nicolas Pope requested to merge feature/188/shading into master
4 files
+ 44
9
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -14,7 +14,7 @@ void normals(ftl::cuda::TextureObject<float4> &output,
void normal_visualise(ftl::cuda::TextureObject<float4> &norm,
ftl::cuda::TextureObject<uchar4> &output,
const float3 &light, const float3 &diffuse, const float3 &ambient,
const float3 &light, const uchar4 &diffuse, const uchar4 &ambient,
cudaStream_t stream);
void normal_filter(ftl::cuda::TextureObject<float4> &norm,
Loading