Jump to content
  • Advertisement

upstream99

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About upstream99

  • Rank
    Newbie

Personal Information

  • Interests
    Programming
  1. Thank you very much Adam Miles!
  2. Visual Studio output: Any idea how to fix it? I have got a C# project and can not build it. I am a web developer myself so not very good with HLSL nuances :) AlphaPremultiplier.cs.hlsl RWTexture2D<unorm float4> tex : register(u0); [numthreads(16, 16, 1)] void main(uint3 dispatchThreadId : SV_DispatchThreadID) { uint2 pixelId = dispatchThreadId.xy; float4 c = tex[pixelId]; // <--- error c.rgb *= c.a; tex[pixelId] = c; }
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!