Skip to main content

Timeline for Grainy texture from distance

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
May 24, 2018 at 1:23 comment added ErnieDingo post a screenshot also, and your solution. Interested to see your end result after the MIP changes.
May 24, 2018 at 1:22 comment added ErnieDingo Hi, the count mips was just a function that continually divided the dimensions in 2 and counted the number till I believe it reached a texture size of 32 or 64 pixel. The texture2d1 was just the updated version of texture2d, and is supported in later versions of dx 11. glad you got it working!
May 24, 2018 at 0:20 comment added adrotter Also, device3 is not necessary, neither is texture2d1 or texture2ddescription1, i was getting parameter is incorrect because I was not setting the width and height, using your code
May 24, 2018 at 0:04 comment added adrotter So I just got the log base 2 of the square of the area of the texture to get the mipcount, and I changed my device to Device3 and everything worked. Thank you!
May 24, 2018 at 0:04 vote accept adrotter
May 23, 2018 at 23:59 comment added adrotter Also, do I have to use Device3 and Texture2D1? I tried with just Device and Texture2D but I get the same error as before, parameter is incorrect
May 23, 2018 at 23:34 comment added adrotter Thanks for the reply, still trying your method, can you also put the CountMips function in your code too? Thank you
May 23, 2018 at 21:43 history answered ErnieDingo CC BY-SA 4.0