4 years ago
Highlights
4 years ago
@codefreak2022 I need to reduce the shader cost here.
4 years ago
1)Given a surface S with a normalized normal vector N.For given vector V, find reflected vector R. Use dot product and then normalize it?R = S - 2(S.N)N Is it correct?…
4 years ago
I am newbie to GLSL and HLSL programming. I am trying to do the below operations using some functions with shader programming. Any suggestions or reference code or links would h…
4 years ago
The following HLSL pixel shader code is used to perform a 4x4 downsample using a simple box filter. give a way to greatly reduce cost of this shader.float4 g_OffsetsSample[16];t…
4 years ago
Latest Activity
See all in Discussions@codefreak2022 I need to reduce the shader cost here.
4 years ago
1)Given a surface S with a normalized normal vector N.For given vector V, find reflected vector R. Use dot product and …
4 years ago
I am newbie to GLSL and HLSL programming. I am trying to do the below operations using some functions with …
4 years ago