Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 1 more developer from Canada and 12 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


akaitora

Member Since 05 Sep 2008
Offline Last Active Yesterday, 04:45 PM

Topics I've Started

Procedurally Generating Noise in a Shader

28 August 2015 - 01:46 AM

Tonight I wrote a tutorial explaining how to procedurally generate noise in a shader if you need to.

 

Take a look here.

http://glslsandbox.com/e#27370.3

 

I hope it helps someone!  =)

 

procedural_noise.png

 


Picking a Random Uniformly Distributed Point in a Circle

22 June 2015 - 10:56 PM

A short article tI wrote that attempts to give a little insight into how this is done mathematically.

 

http://xdpixel.com/random-points-in-a-circle/

 

RandomPointInCircleComparison1.png


Roughness in a Reflection

09 June 2015 - 10:46 AM

I came across this site

 

http://www.chocofur.com/6-shadersamptextures.html

 

And I want to write a shader that uses a cubemap for reflection but I want to take into account the roughness of the reflection.  Essentially it looks like the roughness more or less blurs the texture.  This model seems to be used in Physically based shaders.  I am curious if anyone can point me to an article that explains the formula for adding roughness to augment a reflection vector in a shader.  Thanks!


Procedural Lightning

20 May 2015 - 01:54 PM

Hey guys!  Here is a shader I wrote that demonstrates a simple way to do procedural lightning.

 

stormy_night_port_huge_it_small_portfoli

 

You will need a WebGL enabled browser to view the demo.

 

http://xdpixel.com/stormy-night/

 


Dot Product 101

16 May 2015 - 05:36 PM

Hey guys!

 

I wrote an article on the dot product.  Hopefully it will help someone out.

 

http://xdpixel.com/dot-product-101/

 

PARTNERS