Skip to content Skip to sidebar Skip to footer
Showing posts with the label Shader

Is It Possible To Use 2 Textures (one On Top Of The Other) As A Material Without Using Custom Shaders?

I'm learning three.js and I've done a few a examples on it and basic shaders (One being Cod… Read more Is It Possible To Use 2 Textures (one On Top Of The Other) As A Material Without Using Custom Shaders?

Force A Sprite Object To Always Be In Front Of Skydome Object In Three.js

I currently have a custom shader draw a gradient on a skydome and would like to have a sun/moon in … Read more Force A Sprite Object To Always Be In Front Of Skydome Object In Three.js

Webgl Translation After Rotation Of The Camera (as An Fps)

I've already done some projects with c++ and OpenGL, now I'm creating a simple project with… Read more Webgl Translation After Rotation Of The Camera (as An Fps)

Javascript Text Input Editing: How To Turn Multiple String Text Shader In One Text Input Into Another Representation?

So I want to have 2 input feilds, one editable. I need some script that would turn such shader tex… Read more Javascript Text Input Editing: How To Turn Multiple String Text Shader In One Text Input Into Another Representation?

Bump Mapping With Javascript And Glsl

Hey there I`m trying since a while now to add a second texture to my cube and do some bump mappin… Read more Bump Mapping With Javascript And Glsl

Using A Different Vertex And Fragment Shader For Each Object In Webgl

I have a scene with multiple objects in webgl. For each object I want to use a different vertex and… Read more Using A Different Vertex And Fragment Shader For Each Object In Webgl