Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


whysee

Member Since 07 Feb 2005
Offline Last Active Jul 07 2012 02:06 PM

Topics I've Started

fragment shader wipe effect

01 July 2012 - 03:05 PM

I all
I'm back in shader since ten years ... so
I looking for a starting code to make a sort of wipe effect in 2D:

I think its a classical effect but i can't find any example

I need to make cursor as a moving shape on the screen that make appear a texture behind. If the cursor move again over the same path it reveals another texture behind. Every time the shape pass over a texture it reveals another texture behind it . etc.

Is someone can give me a snipet as a starting point, I'm going in many direction but still stuck

Thanks a lot

positioning a cubemap in glsl

30 October 2005 - 09:42 PM

Hi all maybe it's a stupid question but im stuck: what i wanna do is making a lookup in a cube map that simulate a spotlight like in http://www.ronfrazier.net/apparition/index.html the lookup is made by a vector from the vertex to the light.
	color = textureCube(EnvMap, light2Dir);

it works well but my map is centered so the light seems to come from the center of the scene also i need to move it for each spotlight how can i move this cube map to the position of the light ? thanx for your help

shader perf ... need explanation

28 October 2005 - 04:54 AM

hi all i've made glsl shader that cast two spotlights on a scene. it's work really good but when i get closer the framerate drops down what the explanation of this phenomena ? i think the decreasing of perf come from the number of fragment effectively processed to do the lighting but what are the tricks to get good perf on very close views is someone has an example of indexed map ligthing in glsl maybe its faster ? thanks [Edited by - whysee on October 28, 2005 11:24:38 AM]

GLSL multiple spotlights

24 October 2005 - 05:11 AM

hi all I'm looking for a method to create multiple dynamic spotligths i've tryed to write a fragment program using an opengl ligth it's cool but what can i do if i want more lights do i duplicates values and calculation ? so try two spotlights and the performance decrease dramatically I've heard about other techniques still using glsl is someone can give me some example of multi spotlights rendering that works ? tanx

writing assembly vertex and fragment program

02 March 2005 - 12:46 AM

hi all, I'm currently writing an online game where each player has a spotlight after testing many technique to get lighting and shadows for multiple lights I found it's more extensible to write it out as a shader but ... it seem difficult for me to find a good starting point : my app ONLY support ARBvp1.0 and ARBfp1.0 Where I can find a good tutorial on how to write such files ? I need advices for a good way to write it Do I need SDK if exists where I can test my effects ? I'm on linux with a GeForce3

PARTNERS