Sign in to follow this  
Heinz Drache

GLSL modulo operator

Recommended Posts

Hi, i'm trying to use the '%' operator in GLSL to perform a modulo operation between two integers. Render Monkey gives me the error: "supported in pack/unpack shaders only". Feeding Google with this didn't give me any clear results, so perhaps someone could explain this to me as i am quite new to GLSL. I'm running a Radeon 9700 Pro with Catalyst driver. greetings Heinz [Edited by - Heinz Drache on March 11, 2006 8:14:12 PM]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this