Skip to main content
H3XXX's user avatar
H3XXX's user avatar
H3XXX's user avatar
H3XXX
  • Member for 3 years, 8 months
  • Last seen more than a month ago
awarded
awarded
revised
Billboarding in Vertex Shader
deleted 423 characters in body
Loading…
comment
Billboarding in Vertex Shader
The view/identity matrix trick worked perfectly. Thanks!
accepted
comment
Billboarding in Vertex Shader
Thanks for your answer, this code alone doesn't rotate the quad towards the camera like one would expect for a billboard, it looks like the bbOffset still needs to be modified by another parameter to complete the effect... see my edit if you're interested
revised
Loading…
asked
Loading…
comment
16 bit SNORM format not correctly storing Z component?
@pmw1234 Thanks I wasn't aware of the * 2.0 - 1.0 part, first time using a SNORM texture format. I submitted an issue on the renderdoc github maybe they can figure it out.
revised
Loading…
awarded
revised
Loading…
Loading…
comment
Calculating UV coordinates for sampling texture atlas
Changing the code to tc.y += (0 * 1024.0) / 8192.0; has fixed it, looks like some kind of issue with the tiling in the 'y' direction
awarded
awarded
comment
Calculating UV coordinates for sampling texture atlas
@pmw1234 The textures coordinates are normalized
comment
Calculating UV coordinates for sampling texture atlas
@pmw1234 They are aligned side by side in each row is what I meant. If there was more than 8 then the subsequent shadowmaps will be put on the next row
Loading…