Author Topic: does JPCT-AE support scissor test?  (Read 1978 times)

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
does JPCT-AE support scissor test?
« on: June 28, 2017, 11:56:51 am »
i didn't notice any related method.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: does JPCT-AE support scissor test?
« Reply #1 on: June 29, 2017, 01:05:56 pm »
No, jPCT-AE doesn't. Desktop jPCT does. I think the reason is that it wasn't supported in OpenGL ES 1.x, so I left it out when porting the thing and never added it again. You should actually be able to simulate it in a shader.

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
Re: does JPCT-AE support scissor test?
« Reply #2 on: June 30, 2017, 02:33:41 am »
now i have another question, how can i use multiple shaders on an Object3D. i think i have read somewhere that an object can have several vertex shaders and fragment shaders in a row.
the reason i want this is that i don't like to modify the default shaders.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: does JPCT-AE support scissor test?
« Reply #3 on: June 30, 2017, 10:00:54 am »
No, you can't do that, I'm afraid.