Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Point Size




On Nov 30, 2007, at 3:23 PM, Nicolas Goy wrote:


I tried, but I need gl_PointCoord in my fragment shader, but it does not appear to be here (undefined identifier).


Thanks to Michael Swift who sent me the answer.

I put it here for future references.

You need to add "#version 120" into the source code.

References (to help the next one to find the answer quickly with google):
- GLSL 1.20
- MacOSX 10.5 (leopard)
- GL_POINT_SPRITE
- gl_PointCoord


Thanks to Michael.

Regards

--
kuon

http://kuon.goyman.com
http://goyman.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Point Size (From: Nicolas Goy <email@hidden>)
 >Re: Point Size (From: "Wesley Smith" <email@hidden>)
 >Re: Point Size (From: Nicolas Goy <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.