Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 1-Mar-2013 04:27:58

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

monkeying around with another render monkey shader

it's all about the blob blob i think the hlsl parameters should be tweaked and a better cube map made/found, but the bubble reminds me of the prisoner series.

Last edited by hebdemnobad (1-Mar-2013 15:24:22)

Offline

#2 1-Mar-2013 18:08:54

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,554
Website

Re: monkeying around with another render monkey shader

Yeah nice smile
This should be better if the cube map were projected live a reflection map

Offline

#3 1-Mar-2013 18:25:18

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: monkeying around with another render monkey shader

arkeon wrote:

Yeah nice smile
This should be better if the cube map were projected live a reflection map

i assume that would be more costly if the goal is performance...but that being said, just how do i implement a realtime relfection map?

-h

Offline

#4 1-Mar-2013 18:27:55

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,554
Website

Re: monkeying around with another render monkey shader

You can apply a DDS cube map first and use the a reflection projection

for real time cube map you can add one on your sphere in OS3D and choose the material texture to replace with. "add dynamic cube map"

http://http.developer.nvidia.com/CgTuto … ter07.html

Offline

#5 1-Mar-2013 22:51:14

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: monkeying around with another render monkey shader

arkeon wrote:

You can apply a DDS cube map first and use the a reflection projection

for real time cube map you can add one on your sphere in OS3D and choose the material texture to replace with. "add dynamic cube map"

http://http.developer.nvidia.com/CgTuto … ter07.html

neutral I think it's beyond my meager shader-knowledge.  All I really know is to switch a couple of lines of code and play with parameters. I am, verily, a rendermonkey.

Last edited by hebdemnobad (1-Mar-2013 22:54:18)

Offline

#6 2-Mar-2013 01:46:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,554
Website

Re: monkeying around with another render monkey shader

try this modified one ^^
bubbleshader.rar

I change the shader to be able to use a cube map without alpha information and change the material to use correct world position and camera position from ogre auto params, so the reflection goes the right way now

you can try it with two dynamic cube map from OS3D applied on the 2 pass texture unit 1

Offline

#7 2-Mar-2013 17:43:39

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: monkeying around with another render monkey shader

arkeon wrote:

try this modified one ^^
bubbleshader.rar

I change the shader to be able to use a cube map without alpha information and change the material to use correct world position and camera position from ogre auto params, so the reflection goes the right way now

you can try it with two dynamic cube map from OS3D applied on the 2 pass texture unit 1


Thanks!!!!

I tried it  and it's better but how do I increase the transparency?

Offline

#8 2-Mar-2013 19:35:37

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,554
Website

Re: monkeying around with another render monkey shader

you can increase the transparency with the parameter in the material

//Shader Constant: alpha_scale_and_bias
                param_indexed 1 float4 0.400000 0.100000 0.000000 0.000000

Offline

#9 2-Mar-2013 19:54:26

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: monkeying around with another render monkey shader

thx!

Offline

Board footer

Powered by FluxBB