Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 2 3 4 5 6 … 18 Next »
UV issue in drawTexturedRect
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
UV issue in drawTexturedRect
12-07-2020, 01:35 PM,
#10
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: UV issue in drawTexturedRect
For PNGs, you'd be better off using Material( "path/to/material.png", "<params>" ) as it lets you customise the way the material is setup.

Part of the changes means that the material passed to render.getTextureID() has to have a texture that can be resolved to a path. PNGs are handled in a bit of a weird way (thanks Garry), so I'm not surprised they no longer work with it. I'll fix it to make it handle them as an equivalent to Material( texture, "noclamp" ).

As for non-PNG materials, those should be unchanged. Are there non-PNG materials that aren't working with it?
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
UV issue in drawTexturedRect - by Tomeno - 11-07-2020, 11:03 PM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 09:53 AM
RE: UV issue in drawTexturedRect - by Tomeno - 12-07-2020, 10:13 AM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 10:39 AM
RE: UV issue in drawTexturedRect - by Tomeno - 12-07-2020, 10:43 AM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 10:48 AM
RE: UV issue in drawTexturedRect - by Tomeno - 12-07-2020, 10:53 AM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 11:08 AM
RE: UV issue in drawTexturedRect - by Tomeno - 12-07-2020, 01:22 PM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 01:35 PM
RE: UV issue in drawTexturedRect - by Tomeno - 12-07-2020, 02:04 PM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 02:19 PM
RE: UV issue in drawTexturedRect - by Tomeno - 12-07-2020, 02:48 PM
RE: UV issue in drawTexturedRect - by Person8880 - 12-07-2020, 02:51 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.