Skip to main content
gamedev.net
🔒 Locked

fragment_program

Started by MARS_999 Mar 7, 2004 at 10:25 PM 0 replies 250+ views
Original Post
MARS_999
MARS_999
I am wondering about arb_fragment_program as to whether or not I can use RGBA as blend values from a texture passed as is, and use 4 different textures e.g. grass, rock, snow, dirt and blend them based on r = grass ect... Is this possible without having any issues with the alpha channel causing issues if I have all three values rgb set to 255 each so the RGB pixel would be white on the texture for blending? Thanks and any good tutorials on how to do this exactly would be great.
Trienco
Trienco
no issues, if you want to be just set the output alpha to 1.
and: i dont think you will find tutorials on dp4 result, detail, weight; (though there was one for the more annoying version requiring some cumbersome setup.. did i mention fragment programs are great? *g*)
f@dzhttp://festini.device-zero.de

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.