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

Register

Team Spartan Cookies & Milk Forums Feedback Suggestions and improvements v
« Previous 1 … 17 18 19 20 21 … 36 Next »
render.enableScissorRect()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
render.enableScissorRect()
19-10-2018, 11:55 AM,
#1
The17thDoctor Online
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
render.enableScissorRect()
I tried using the render.enableScissorRect() on a starfall emitter and I came up with a strange bug meaning the rect was depending of my angle of view ,like if the rectangle was attached to my camera, I guess its a bug cause it should in theory just cut what's beyond the coords but local to the emitter

Here is a part of my code that should help you notice the bug :


render.start3D2D(ents.self():toWorld(Vector(0,0,2)),ents.self():toWorld(Angle(0,90,0)), 0.032)
emitter.setDrawEverywhere(false)
render.clear()
render.enableScissorRect(-824,-512,824,512)
render.setColor(250,250,250,50)
render.drawRect(-824,-512,1648,1024)
render.end3D2D()
end)

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
render.enableScissorRect() - by The17thDoctor - 19-10-2018, 11:55 AM
RE: render.enableScissorRect() - by Person8880 - 19-10-2018, 04:41 PM
RE: render.enableScissorRect() - by The17thDoctor - 19-10-2018, 11:11 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.