Re: Point Size
Subject : Re: Point Size
From: Nicolas Goy <email@hidden >
Date: Fri, 30 Nov 2007 20:02:35 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
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
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.