Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Chris_F

Member Since 04 Oct 2010
Offline Last Active Today, 12:27 AM

Posts I've Made

In Topic: Trouble with if statment in shader and loading array of mat4 to uniform

13 May 2015 - 09:48 PM


I'm not sure but are you allowed to do a branching read like that?

 

Works in OpenGL 4.x on a Kepler GPU, although it can kill performance.


In Topic: Irradiance environment map and visibility

26 April 2015 - 02:20 PM


Integral(L * cos(thetaN)) * Integral(V * cos(thetaN))

 

Unless I'm mistaken though I thought that would not give the same result as Integral(L * V * cos(thetaN)). Should have kept reading because you go on to say as much. I was hoping there would be a way to "correctly" modulate irradiance from an irradiance volume using something like a H basis encoded occlusion map.


In Topic: Glossy reflections - how to do a proper blur

17 April 2015 - 07:14 PM

https://www.opengl.org/wiki/Cubemap_Texture#Seamless_cubemap


In Topic: Efficient 24/32-bit sRGB to linear float image conversion on CPU

11 April 2015 - 03:44 PM

for a given sRGB (sR,sB,sG) and Gamma the RGB(R,G,B) will be :

 

R=pow(sR,1/Gamma)

G=pow(sG,1/Gamma)

B=pow(sB,1/Gamma)

 

but I don't think you can do this with AVX2's functions

 

sRGB isn't a gamma, see: http://entropymine.com/imageworsener/srgbformula/


In Topic: Your Death Song

06 April 2015 - 09:18 PM


PARTNERS