Login  Register

Shadow mapping port to JOGL and 0x500 GL error

Posted by mezlogo on Jan 26, 2014; 8:45pm
URL: https://forum.jogamp.org/Shadow-mapping-port-to-JOGL-and-0x500-GL-error-tp4031372.html

Good day, everyone!
My knowledge is very modest, but very necessary and I want to implement a shadow in JOGL, I found (in my opinion) pretty simple implementation in delphi, and just tried to port to, the fact is that when initialization error goes, wrong ENUM value when calling a method glTexParameteri and glTexGeni in startInit(GL2 gl). I can't find a solution to my problem, not well-versed in openGL and badly know English, as you can see.
P.S. thanks in Advance to all, and I apologize for my English.


http://pastebin.com/fnamve4P

(I apologize for comments on Russian)